TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
malek sh
NA
17
2.3k
Calculate the number of students
Nov 22 2020 3:45 PM
The exam employee tries to distribute students evenly in the examination halls, if she knows that the number of students varies
Between 500 and 1000 and that:
1- If students are divided into two halls, one student remains without the hall
2- If students are distributed into three halls, one student remains without the hall
3- If students are distributed into four halls, one student will remain without the hall
4- If students are distributed into five halls, one student remains without the hall
5- If students are distributed into six halls, one student will be left without the hall
6- If students are divided into seven halls, no student will remain without the hall
Write a program that allows you to see the actual number of students.
Reply
Answers (
2
)
Is it correct to use using block inside another using block
Cannot access a non-static member of outer type