> #programming , #c > Write a C++ program that will declare and initialize variable name with value sandra Kerry and variable age with value 13.and then write a line that will print/ display them, name is Sandra kerry ?
Anonymous
Apr 7

Write a C++ program that will declare and initialize variable name with value sandra Kerry and variable age with value 13.and then write a line that will print/ display them, name is Sandra kerry ?

1 view
1 view

1 answer

Sort By
C
ChatGPT
Apr 7
#include
#include

int main() {
std::string name = "Sandra Kerry";
int age = 13;

std::cout << "Name is " << name << " and age is " << age << std::endl;

return 0;
}
0

Similar Questions

×
Anonymous





© 2024 - Quanswer