Computer Science, asked by abhbhm, 2 months ago

Write a QB64 program to print natural numbers from 1 to N, where N is an input number accepted from the user.​

Answers

Answered by atrs7391
1

\textsf {\underline {\textbf {\Large {QB64 Program:}}}}

\texttt{CLS}

I\texttt{NPUT "Enter N: ";N}

\texttt{FOR I = 1 TO N}

\texttt{PRINT I}

\texttt{NEXT I}

\texttt{END}

Similar questions