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
Fadugba Jeremiah
NA
49
18.1k
Error: No overload for method takes 0 arguments
Aug 20 2015 4:45 AM
hello please I am havine an error " Error 1 No overload for method 'getoverallRate' takes 0 arguments" here is the code what I'm I missing?
public int getoverallRate(int rateact, int ratemus, int ratecin, int rateplot, int ratedur)
{
int divisor = 5;
rateact = (RateActing / divisor) * 100;
ratemus = (RateMusic / divisor) * 100;
ratecin = (RateCinema / divisor) * 100;
rateplot = (RatePlot / divisor) * 100;
ratedur = (RateDuratn / divisor) * 100;
int totrate = (rateact + ratemus + ratecin + rateplot + ratedur);
return totrate;
}
public void Display()
{
Console.WriteLine("total rate is- {0}%",
getoverallRate
());
}
the highlighted portion is underline.
Reply
Answers (
6
)
How to check date from less than and greater than
multiple tables to get the values