Entradas

Mostrando entradas de marzo, 2017

THEORY

  PROGRAMACION   Loops: repetition of instructions a number of times   #include <iostream> // library using namespace std; // to use cout (output) screen and cin (input) keyboard int main { // start of the program integer -int num,sum,count; // declaration of variables data           -float (decimales) cout <<" muestra  la persona o pregunta "ejm"this program will do the sum of 7 numbers"; for (count=1;count<=7;count++){       cout<<"please give me a number:  ";       cin>> num;       sum= sum+num;       sum+=num; } i=asigna i==compara Arrays: are space memories that allow you to store some type of data int numbers[10]={5,3,8,10,12,15,17,8,2,1}   New type:  string cadena- characters 'A','B','C','D','E'   char