89.2k views
3 votes
Write code that outputs variable numCats. End with a newline.

1 Answer

10 votes

Answer:

#include <iostream>

#include <cmath>

using namespace std;

int main() {

int numCats;

cin>>numCats;

cout<<numCats<<endl;

Step-by-step explanation:

User JCollerton
by
7.3k points
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.