Untitled
unknown
c_cpp
2 years ago
373 B
13
Indexable
// kostylev lessone uno
// task 1 Cat
#include <iostream>
using namespace std;
int main(){
int age = 0;
float ves;
int tailLenght;
char catName = 'w';
ves = 0.6f;
// console input
cout << "input cat data:\n";
cin >> age >> ves;
cin >> tailLenght >> catName;
cout << "cat data:\n";
cout << "age: " << age << "\n";
cout << "ves: " << ves << endl;
}
Editor is loading...