GithubHelp home page GithubHelp logo

idat001's Introduction

a. Write a program that calculates the salary of a worker as follows. The worker charges a fixed price per hour and is discounted 15% for income tax. The program should ask for the worker's name, hours worked, and the price charged per hour. As output you must print the gross salary, the rent discount and the salary to be paid.
b. A student wants to know what his final grade will be in the subject of Computational Logic. This qualification is made up of three partial exams whose weighting is 30%, 30% and 40%.
c. You have to calculate the area of โ€‹โ€‹a rhombus, taking into account that: area = (major_diagonal*minor_diagonal)/2
d. Read a 4-digit number, show the highest and lowest number as a result.
e. Make a program that receives a number of minutes and shows on the screen how many hours and minutes correspond. For example: 1000 minutes is 16 hours and 40 minutes
f. Two vehicles travel at different speeds (v1 and v2) and are separated by a distance d. The one behind it travels at a higher speed. It is requested to make an algorithm to enter the distance between the two vehicles (km) and their respective speeds (km / h) and with this determine and show in what time (minutes) the vehicle will reach the other faster.

idat001's People

Contributors

fyupanquia avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.