Write a c++ program to display this series of numbers in descending order(1,2,3,4,5,6,7,8,9)
1
Expert's answer
2015-10-07T04:12:34-0400
#include <cstdio> #include <iostream> using namespace std;
int main() { long long left, right; puts("Enter left bound."); cin >> left; puts("Enter right bound."); cin >> right; for (; right >= left; cout << right << " ", right--);
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments
Leave a comment