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 ConsoleApplication1
- {
- class Program
- {
- static void Main(string[] args)
- {
- Console.Write("Введите сумму вклада = ");
- double a = double.Parse(Console.ReadLine());
- Console.Write("Процент по вкладу = ");
- double b = double.Parse(Console.ReadLine());
- Console.WriteLine("Начислят в конце года = {0:0.00}р.", a/100*b);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement