#include <iostream> using namespace std; int main() { char name[50]; cout << "Please enter your name: "; cin >> name; cout << "Your name is: " << name << endl; }
Subscribe to:
Post Comments (Atom)
Directory implementation
The selection of directory-allocation and directory-management algorithms significantly affects the efficiency, performance, and reliabil...
-
structure is a collection of variables of different data types under a single name. It is similar to a class in that, both holds a coll...
-
#include <iostream> #include <cmath> using namespace std ; int main () { double x = 10.25 , result ; result ...
-
Recursivity Recursivity is the property that functions have to be called by themselves. It is useful for some tasks, such as sorting elem...
No comments:
Post a Comment