Skip to content

SejalCh/Basics-of-CPP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

Basics-of-C-

##AIM: To learn the basics of C++.

##THEORY:

The basics of C++ consists of general syntaxes which are used in almost all the C++ codes.For example:

1.for displaying the inputs and outputs [cin/cout]
2. new line[\n;endl;]
3. Comments, etc.

This respository contains two programs which displays basic use of C++; print "hello world" and a calculator program.The calculator program has switch conditional statement which helps to choose between given cases.

##ALGORITHM:

To print hello world
step1:create a main function
step2:type "hello world" in the output syntax
step3:run the code to see the desired output.

Output of hello world and calculator programs:

Screenshot 2023-10-01 110106 Screenshot 2023-10-01 110219

Releases

No releases published

Packages

No packages published

Languages