Lab1-4 Problem 12345 Sample Output 0 Write a program that inputs a five-digit integer, spearates the integer into its di
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Lab1-4 Problem 12345 Sample Output 0 Write a program that inputs a five-digit integer, spearates the integer into its di
sample input 0
12345
sample Output 0
please i need help here
can someone help me ?
Lab1-4 Problem 12345 Sample Output 0 Write a program that inputs a five-digit integer, spearates the integer into its digits and prints them seperated by three spaces each, pHint: Use the ineger division and remainder operators] Sample Input 01 1#include <ceath> 2 teclude <cstdie #include <vectors 4 #include <iostream Leaderboard ssnclude algoritheo using namespace std; Discussions &locked int main() ( / Enter your code here. Read input from STDIN. Print output to STDOUT C++ DOD Submissions: 20 Max Score: 10 Difficulty: Medium Rate This Challenge 2009 More X10
Lab1-4 Problem 12345 Sample Output 0 Submissions 1 2 3 4 5 Write a program that inputs a five-digit integer, spearates the integer into its digits and prints them seperated by three spaces each. [Hint: Use the ineger division and remainder operators.] Sample Input 0 Leaderboard 1-#include <cmath> 2 #include <cstdio> 3 #include <vector> 4 #include <iostream> 5 #include <algorithm> 6 using namespace std; 7 Discussions locked 8 9 int main() { 10-> /* Enter your code here. Read input from STDIN. Print output to STDOUT / 11