Hello Guyz , counld anyone can help me? Thanks :-)
The result output should be like this :
The output should be like this:
ENTER VALUE NUMBER : 2
VALUE NUMBER : 1
VALUE NUMBER : 2
The Sum total is : 3
Hello Guyz , counld anyone can help me? Thanks :-)
The result output should be like this :
The output should be like this:
ENTER VALUE NUMBER : 2
VALUE NUMBER : 1
VALUE NUMBER : 2
The Sum total is : 3
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Ahmet TahaRank #3,505 · 414 reputationPosted Sep 16, 2021, 9:48 AM EDT
//int[] storage = new int[0];
int storage = Convert.ToInt32(Console.ReadLine());
for (int x = 1; x <= storage; x++)
{
int c = 0;
Console.Write("Value number:\t" + x);
c = (x + storage) / x;
Console.WriteLine("The Sum total is :\t" + c);
}
Console.ReadKey();
Sachin SinghRank #66 · 26.2K reputationPosted Sep 16, 2021, 10:18 AM EDT