mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
Initialize n as int
This commit is contained in:
parent
aa968b65ec
commit
38df5b7b66
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user