Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace ConsoleApp1
- {
- class Program
- {
- static void Main(string[] args)
- {
- int numberofpictures = 52;
- int linelength = 3;
- int numberoflines = numberofpictures / linelength;
- int ostatok = numberofpictures % linelength;
- Console.WriteLine("numberoflines="+ numberoflines+ "\nostatok=" + ostatok);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment