Repetation structure

I need help in to make the following program can anyone help me. im new to c++

#include <iostream>

using namespace std;

int main()
{
int Limit=21;
/*
• The Program just Check whether the Limit value entered by the user falls within the range from 10 to 150. (10 and 150 included in the given range.)
• Display those numbers which are divisible by both 3 and 5 in the range from 1 up to the Limit value e.g. if it's 21.
• Calculate and display the sum of those numbers which are divisible by either 3 or 5.
• Final task will be to count and display those numbers which are not divisible by 3 or 5.
*/
Edit & Run

Thanks
Regards
Abhee
Last edited on
Topic archived. No new replies allowed.