int var, hours, days;
var = 52;
hours = var % 24; // 4
days = (var - hours) / 24; // (52 - 4)/24 = 2
int var, hours, days;
var = 52;
hours = var % 24; // 4
days = (var - hours) / 24; // (52 - 4)/24 = 2
int userEnteredMonths= readMonthInput();
int years = userEnteredMonths / 12;
int months = userEnteredMonths - ( years *12);
Last reply 1 month ago
Free website hosting providers with no strings attached?Posted 3 months ago
iDEA silver citizen badge three. Milkshake shack coding problem.Last reply 4 months ago
How do you practice programming java for beginners?Last reply 8 months ago
hows the employment market for tech work in the UK?Last reply 1 month ago
Free website hosting providers with no strings attached?Posted 3 months ago
iDEA silver citizen badge three. Milkshake shack coding problem.Last reply 4 months ago
How do you practice programming java for beginners?Last reply 8 months ago
hows the employment market for tech work in the UK?