Pls answer the following question. it's urgent.
Write a program in QBASIC to print first 10 natural numbers.
Answers
Answered by
3
Answer:
This works in QB64, which is a modern version of QBasic
You can read about FOR loops here :
this is a very good set of lessons in Basic that explains this slowly and simply (FOR loops are converted in chapter 19 on the following page ):
hope it helps u armyyy...
hope it helps u Mark me as brainliest
REFERE THE ATTACHMENT ABOVE
army is this correct I have attached another image see that
Attachments:
Answered by
2
Answer:
#include<stdio.h>
int main(void){
int n=0,i=0;
printf("enter a natural number ");
scanf("%d",&n);
n=2*n;
for(i=1;i<=n;i++){
if(i%2==0)
Explanation:
Similar questions
Social Sciences,
10 days ago
English,
10 days ago
Political Science,
10 days ago
Hindi,
20 days ago
Physics,
20 days ago
Hindi,
9 months ago
Hindi,
9 months ago