Computer Science, asked by donaldtrump12327, 3 months ago

Write a program in java to print all the leap years from 1000 to n. Use 3 functions to achieve this,
a) void accept() – for reading n
b) void yearprint( ) – for printing the year
c) void main( ) – to call accept( ) and yearprint()​

Answers

Answered by priyankajainrannod8
0

mark me as the brainliest please I wanted

Similar questions