C++: Variables

Post Reply
User avatar
Jason
Site Admin
Posts: 809
Joined: Tue Jul 01, 2025 10:13 am

Code: Select all

// info-ahout-people.cpp

include <iostream>

# include <string>

using namespace std;

int main() {

int Age_of_Amber = 20;

double GPA_of_Rob = 4.0;

string people_info_intro = "Here is some info of these fictional people.";

bool truth_about_the_info = false;

char the_grade_of_Vanessa = 'A';

return 0;}


 

POSTREACT(ions) SUMMARY

Post Reply