Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Text;
- namespace Laba2
- {
- class Program
- {
- static void Main(string[] args)
- {
- int i=1;
- float p;
- p = 10;
- while (p < 100)
- {
- p = ((p/100)*10) + p;
- i++;
- }
- Console.WriteLine(i);
- Console.ReadKey();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement