Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

using System;

using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApplication8
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("REGISTRASI AKUN");
string p;
Console.Write("Masukkan Username Anda : ");
string user = Console.ReadLine();
Console.Write("Masukkan Username Anda : ");
string pass = Console.ReadLine();
do
{
Console.WriteLine("\nSilahkan Login");
Console.WriteLine("Pengguna : "+user);
Console.Write("Masukkan pasword anda : ");
p = (Console.ReadLine());
}
while (p !=pass);
{
Console.WriteLine("\n>>>>>selamat datang di perpustakaan<<<<<");
Console.Write("Masukkan Banyak minggu : ");
int a = Convert.ToInt32(Console.ReadLine());
Console.Write("Masukkan Banyak Hari : ");
int b = Convert.ToInt32(Console.ReadLine());
Console.Write("Masukkan Banyak Pengembalian : ");
int c = Convert.ToInt32(Console.ReadLine());
int om = 1;

for (int aa = a;aa>0;aa--)


{
int oh = 1;
Console.WriteLine("minggu ke-" + om);
om++;
for (int bb = b; bb > 0; bb--)
{
int op = 1;
Console.WriteLine(" Hari ke-" + oh);
oh++;
for (int cc = c; cc > 0; cc--)
{

Console.WriteLine(" Pengmbali ke-" + op);


Console.Write(" Nama : ");
string x = Console.ReadLine();
Console.Write(" judul : ");
string y = Console.ReadLine();
op++;
}
}
Consoale.WriteLine("");
}

}
Console.ReadKey();
}
}
}

You might also like