Skip to content

Commit

Permalink
Update and rename lab1 to lab1_q1
Browse files Browse the repository at this point in the history
  • Loading branch information
ZanButt authored Jan 9, 2021
1 parent d067fa9 commit be83073
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lab1 → lab1_q1
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include <stdio.h>
#include <stdlib.h>

/*Write a program to compute the sum of all numbersthatare multiples of 4,between 30 and 1000,in three different ways:
with afor loop, a while loop and a do-while loop.After each loop print the value on the screen */
int main(void)
{
int i,sum1=0,sum2=0,sum3=0;
Expand Down

0 comments on commit be83073

Please sign in to comment.