Search
 
SCRIPT & CODE EXAMPLE
 

CPP

Basic Variables Entry C++ Programming

#include <iostream>

using namespace std;

int main(){
	
	string f_name, l_name, m_name;
	int age, dob;
	
	cout << "Enter first name:" << endl;
	cin >> f_name;
	cout << "Enter last name:" << endl;
	cin>>l_name;
	cout << "Enter middle name:" << endl;
	cin >> m_name;
	
	cout << "Enter your age:" << endl;
	cin >> age;
	cout << "Enter your date of birth:" << endl;
	cin >> dob;
	
	return 0;
}
Comment

PREVIOUS NEXT
Code Example
Cpp :: is there anything like vector<intx[100] 
Cpp :: Change Font ImGui 
Cpp :: nested loop c++ program example 
Cpp :: C++ 4.3.2 (gcc-4.3.2) sample 
Cpp :: what is a string called in c++ 
Cpp :: converter python to c++ code 
Cpp :: c++ else 
Cpp :: a variable with 2 independant variables plot 
Cpp :: 771. Jewels and Stones leetcode solution in c++ 
Cpp :: convert ros time to double 
Cpp :: how to analyse a poem 
Cpp :: opengl triangle example 
Cpp :: How to get the last element of an array in C++ using std::array 
Cpp :: cpp map contains 
Cpp :: return function in cpp 
Cpp :: c++ for loops 
Cpp :: Arduino Counting 
Cpp :: c++ function with parameters 
Cpp :: Dfs program in c++ 
C :: powershell search files for string 
C :: debian apt force overwrite 
C :: space after format specifiers in c 
C :: roshan kumar 
C :: binary search in c 
C :: reattach screen linux 
C :: c language append line to file 
C :: hi servicenow 
C :: C read a character 
C :: strong number in c 
C :: toupper function in c 
ADD CONTENT
Topic
Content
Source link
Name
2+2 =