Напишите программу на с++ или на с#
Приложения:

Ответы на вопрос
Ответил uyuczukukuke
0
C#
using System;
using System.IO;
namespace ff
{
class Program
{
static void Main(string[] args)
{
string[] temp = File.ReadAllText("input.txt").Split(' ');
int k = Convert.ToInt32(temp[0]);
int n = Convert.ToInt32(temp[1]);
File.WriteAllText("output.txt", Convert.ToString(k % n));
}
}
}
using System;
using System.IO;
namespace ff
{
class Program
{
static void Main(string[] args)
{
string[] temp = File.ReadAllText("input.txt").Split(' ');
int k = Convert.ToInt32(temp[0]);
int n = Convert.ToInt32(temp[1]);
File.WriteAllText("output.txt", Convert.ToString(k % n));
}
}
}
Новые вопросы
Математика,
2 года назад
История,
2 года назад
Геометрия,
8 лет назад
Математика,
8 лет назад
Математика,
9 лет назад