SHARE
TWEET

Untitled

a guest Dec 7th, 2019 80 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class Program6
  2.     {
  3.         static void Main(string[] args)
  4.         {
  5.             double janek, karol, dlug, xd;
  6.             int dzien = 1;
  7.             Console.WriteLine("Zadanie 6");
  8.             janek = 50;
  9.             karol = 40;
  10.             dlug = 80;
  11.             xd = 0;
  12.             do
  13.             {
  14.                 xd += 0.2 * janek + 0.2 * karol;
  15.                 Console.WriteLine("Dzien = {0} Spłata = {1}", dzien++, xd);
  16.  
  17.  
  18.             }
  19.             while (dlug > xd);
  20.            
  21.  
  22.         }
  23.  
  24.  
  25.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top