Search⌘ K
AI Features

Exercise 1: Fundamentals of Ruby

Explore the fundamentals of Ruby by creating programs that calculate salary, determine even or odd numbers, and manage loan repayments. Learn to apply core concepts like variables, methods, and loops to solve real-world problems effectively.

Problem statement #1

Write a program to calculate your average daily salary. The user should be able to type their annual income and the program should then be able to calculate their daily salary. Modify the program, so that it also calculates monthly salary. ...