Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

 Frontend Developers, what's happening?

views
     
shinichi88
post Aug 27 2021, 04:31 PM

Holy Crusader
*****
Senior Member
963 posts

Joined: Sep 2005
From: Selangor
QUOTE(FlierMate @ Aug 26 2021, 09:35 PM)
It took me (as an old-timer) awhile to solve it. Initially I thought single loop was enough, but double loops are necessary. (See https://dotnetfiddle.net/6D78Dv, TQ for the exercise :=)

Maybe this question is too mind-boggling for frontend developers?  rclxub.gif    By all means, I am not qualified for web frontend tech stack either.
*
Edit from this example.

CODE
Console.Write("Number? ");
 string numS=Console.ReadLine();
 int numI=Int16.Parse(numS);
 while(numI > 0)
 {
  for(int i=1; i<=numI; i++)
  {
   Console.Write(i.ToString() + ' ');
  }
  Console.WriteLine();
  numI--;
 }

Like this will do.

This post has been edited by shinichi88: Aug 27 2021, 04:32 PM
shinichi88
post Sep 10 2021, 04:38 PM

Holy Crusader
*****
Senior Member
963 posts

Joined: Sep 2005
From: Selangor
QUOTE(silverhawk @ Aug 31 2021, 01:23 AM)
You can't master anything without understanding some of the basic foundation/fundamentals. If that is all they got, they are at risk of being automated away by AI
*
True..
Still remember my old days in Uni.
The lecturer forces us to complete every single question in the Fundamental of C++ thick textbook for our daily homework.
Glad that I when through that process.

 

Change to:
| Lo-Fi Version
0.0194sec    0.35    6 queries    GZIP Disabled
Time is now: 28th March 2024 - 09:11 PM