C++ Practical Questions and Answers - Example 7

Поділитися
Вставка
  • Опубліковано 20 сер 2024
  • Scientists measure an object’s mass in kilograms and its weight in Newtons. If you know the amount of mass of an object, you can calculate its weight, in Newtons, with the following
    Formula: Weight = Mass × 9.8
    Design a program that asks the user to enter an object’s mass, and then calculates its weight. If the object weighs more than 1,000 Newtons, display a message indicating that it is too heavy. If the object weight less than 10 Newtons, display a message indicating that it is too light.
    You can Connect with me on;
    LinkedIn
    / appiah-k-miracle-20580...
    Twitter
    / codewithmiracle
    Tiktok
    tiktok.com/@appiah_kumah_miracle
    *************************************************************************************
    Thank for watching!!!👍
    @Kodediv

КОМЕНТАРІ • 2