>
#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 ?
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
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;