Initialize n as int

This commit is contained in:
amino19 2021-05-25 18:21:48 +05:30
parent aa968b65ec
commit 38df5b7b66

View File

@ -15,7 +15,7 @@
#include <iostream> #include <iostream>
int main() { int main() {
long long n = 0; int n = 0;
int count = 0; int count = 0;
std::cout << "Enter an integer: "; std::cout << "Enter an integer: ";
std::cin >> n; std::cin >> n;