Author Archives: Asa Puls

Basic input and output

To complete a basic output, you must type

     cout << “Put Text Here”;

This will then print in the terminal the text which you have entered into the the cout << function.

For basic input you will need to create a variable, for exampe Num and then type

     cin >> Num;

this gives a value to the variable and if you want to display the variable, then you muct type

     cout << Num;

Calling Functions

Calling Functions is a key part of programming because naming the functions what they are helps the organization. If all of the functions are called “1” or “2” then it is much more confusiong than if the names are specific things like “celcius” or “upper bound.”

Completing More Masteries

I submitted all of the programming that i have completed onto GitHub for the fourth mastery

Last WSQ of the Partial!!

Finished all my 1st partials work!! 

Almost done with the Partial!

Naming C++ Functions: Naming C++ functions is a necessity for organization and having the program do the correct things. This is an example of why naming C++ functions in a key aspect in programming:

This is a link which describes in detail the importance of Coding Conventions: https://root.cern.ch/drupal/content/c-coding-conventions

Finishing the Partial

So Many Numbers

Messing around with the various things you can do with numbers. This is the website i used as a reference. Just remember to change ‘startingNumber’ to an input value instead of a set value.

http://stackoverflow.com/questions/7463507/sum-of-numbers-c

!!

Working Ahead

I was messing around with this last week before it was posted. The If statements are actually ery easy once you undertand how to use them.

Having Fun With Programming

1 min read

#TC1017 #GuessMyNumber

Working Hard

1 min read

#WSQ05 #TC1017