Ayúdanos a dar forma a GoConqr. ¿Qué deberíamos añadir?

Fichas

chapter 1.5

Marie Overing Computer Science Inglés 14 fichas

Fichas del conjunto (14)

  1. 1first line, includes a service for stream input/output#include
  2. 2second directive for every program to avoid naming conflictsusing namespace std;
  3. 3main functionint main()
    {
    ...
    return 0;
    }
  4. 4to display values within main functioncout <<
  5. 5cout << text stringenclosed in quotation marks
  6. 6at the end of each sentence;
  7. 7to go to the next lineendl
  8. 8display quotation marks within string\''
  9. 9how to display backslash within string\\
  10. 10another way to start a new line\n
  11. 11code lines for user inputstring user_input;
    getline(cin, user_input);
  12. 12code line at beginning to acces data type to enable user input#include
  13. 13code for a sum loopint sum=0;
    for (int i=?; i<=?; ++i)
    {sum +=i;}
    cout<
  14. 14code for a product loopint product=1
    for (int i=?; i<=?; ++i)
    {product *=i;)
    cout<

Información

Descripción
Computer Science Fichas sobre chapter 1.5, creado por Marie Overing el 17/07/2017.
Creado por
Marie Overing
Visitas
1
Valoración

Más sobre Conditionals and Loops

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué deberíamos añadir?