#WQ02 HELLO WORLD!

Hey class, it is me again with another #WSQ. This time i will show you my first program. I must admit I was scared and nervous i had not an idea about c++ and it coding lenguage, but my friend chuy have already taken the class, so he is kind of an advanced guy and he help me everytime I do not know what to do.

So here is my program, i did not take screenshots beacuase you won’t see my code.

My first program

Line 1: First of all, you must include a library  which allows you the in and put standard devices, so here is the drafting.

Line 2: Int (integer) is the type of variable you are using and for every program you must have a principale variable which is called main, it will start empty. You are going to code everything between the brackets after the variable.

These are the two things you must code in every program. Then you write whatever you are asked to. Here i just have to print a line.

line 4: Here is the function of the program. I have declared the cout so I can print the line and after that I write what I want the computer to print

line5: As i have said, main starts empty, but at the end I gave it one value, 0, this means the program ends correctly

As I am posting and learning how to program in english and my teacher is canadian, i hope this image helps him to improve his spanish skills

12659798_1151422071549034_1594265071_n

 

 

 

CC BY-SA 4.0 #WQ02 HELLO WORLD! by alibarramg is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.