string
int mynumber = 10;
double mydecima = 10.1405;
string mytext = "10.1405 hello true";
bool myon_off = true;
char mysinglecharacter = 't';
string
int mynumber = 10;
double mydecima = 10.1405;
string mytext = "10.1405 hello true";
bool myon_off = true;
char mysinglecharacter = 't';
string
#include <iostream>
int main()
{
using namespace std;
char name[20]; //declaring string 'name'
cin.getline(name, sizeof(name)); //taking string input
cout << name << endl; //printing string
return 0;
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us