/*PSEUDOCODE Input floor length floor width tile length tile width Floor Area= floor length * floor width Tile Area = tile length * tile width Number of tiles required = ceil( Area of Floor / Area of Tile) */ /*FLOWCHART: input(floor length, floor width, tile length, tile width). Area of floor (floor length * floor width). Area of tile (tile length * tile width). Number of tiles required (ceil(Area_of_Floor / Area_of_Tile)) output of result (nuber of tiles) */ import java.util.Scanner; public class TileEstimator { public static void main (String [] args) { Scanner tiles = new Scanner(System. in ); //floor dimension System. out .print( "Enter the length of the floor (in meters): " ); double floorLength = tiles.nextDouble(); System. out .print( "Enter the Width of the floor (in meters): " ); double floorWidth = tiles.nextDouble(); //tile dimension System. out .print( "Enter the length of the tile (in meters): ...
Posts
Showing posts from February, 2025
- Get link
- X
- Other Apps
NAME: FAVOUR ISATU YILLAH THE MILESTONE OF COMPUTING AND PROGRAMMING. The field of computer science has evolved significantly since its inception, marked by numerous breakthroughs and innovations. Here’s a timeline of key milestones that have shaped the development of computer science: 1. The Early Theoretical Foundations Charles Babbage’s Analytical Engine (1830s) Charles Babbage conceptualized the Analytical Engine, considered the first mechanical computer. Although it was never completed, its design included many features of modern computers, such as a programmable mechanism. Ada Lovelace’s Algorithm (1843) Ada Lovelace wrote the first algorithm intended for a machine, the Analytical Engine, making her the world’s first computer programmer. Her work demonstrated the potential of machines to perform complex calculations. 2. The Development of Early Computers Alan Turing’s Turing Machine (1936) Alan Turing developed the concept of the Turing Machine, ...