Computer Science, asked by Queengreen21, 10 months ago

Write a QB64 program to find the sum of first fifty odd numbers .

Answers

Answered by omegads03
1

* sum of first 50 natural number *

# include <stdio.h>

# include <conio.h>

void main ()

{

 int i, sum =1;

 clrscr ();

 for(i=1; i<= 50 ; i++)

     sum++;

 printf (" sum");

 getch ();

}


Queengreen21: thank you for giving the answer
Similar questions