Programación

13.02.2017 07:31

https://cpp.sh/63bsn

//- To make comments
#include- To call a library - <iostream>  input-> keyboard
                                                         output-> Screen
using namespace std- Command the cout and cin
int main () {- This is the start of the program
int kt, at, st, choice, option;
float subkids, subadults, subseniors, totalcost;
cout<< "ehjfgsfgrytfg erui\n" -new line
cin>> choice;
if (choice == 1){ - Conditional
cout<< "chvgdjkvbfvb.egjbhvuoh?";
cin>> kt;
subkids = 5.00* kt;
}
38. cout<< "dg.usdhcfjkhasjkfh as,j";
cin>> option;
if (option == 2) {
Totalcost = subkids+subadults+subseniors