So in sem 1 you will learn this basic principles of c programming:
1.printing
2.taking input
3.if else
4.looping
5.file handling
practicing the syntax is the key so keep practicing the codes given to you.
How to write a c program and run it:
Open gedit.
write the code and save it with .cpp extension
1.open terminal and type---
g++ <yourfilename>.cpp
2.if no error is generated then type:
./a.out
tada, your program runs.
No comments:
Post a Comment