c++ cout int
#include <iostream>
std::cout << "Hello, World!" << std::endl;
c++ cout int
#include <iostream>
std::cout << "Hello, World!" << std::endl;
how to print all numbers in an integer in c++
#include<iostream>
using namespace std;
void print_each_digit(unsigned long long int x)
{
if(x >= 10)
print_each_digit(x / 10);
int digit = x % 10;
cout << digit << 'n';
}
int main(){
unsigned long long int i;
cin >> i;
print_each_digit(i);
return 0;
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us