Answer to Question #263907 in C++ for Rica

Question #263907

Write a C++ instruction that declares and initializes a string variable name student name.

1
Expert's answer
2021-11-10T09:36:31-0500
#include<iostream>
using namespace std;






int main(){
	string name = "Student name";
	cout<<name<<endl;
	return 0;
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS