23.) In this c++ program. Create a flowchart and algorithm. Source Code: #include using namespace std; int main() { int num, rem, rev=0; cout>num; while(num!=0) { rem = num%10; rev = rem + (rev*10);...


23.) In this c++ program. Create a flowchart and algorithm.


Source Code:


#include
using namespace std;
int main()
{
    int num, rem, rev=0;
    cout<"enter the="" number:="">
    cin>>num;
    while(num!=0)
    {
        rem = num%10;
        rev = rem + (rev*10);
        num = num/10;
    }
    cout<"\nreverse ==""><>
    cout<>
    return 0;
}



Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here