Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- namespace prac
- {
- class Program
- {
- static void Main(string[] args)
- {
- Console.Write("Введите сумму вклада = ");
- double a = double.Parse(Console.ReadLine());
- Console.Write("Введите процент по вкладу = ");
- double b = double.Parse(Console.ReadLine());
- Console.Write("Через год сумма на вкладе = ");
- Console.WriteLine("{0,00}", (a * b / 100 + a), "p.");
- Console.ReadKey();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement