Jim's
Tutorials

Spring 2018
course
site

Feb 13 - Jim

This is a lot of text just to have something ...

This is a lot of text just to have something ...

This is a lot of text just to have something ...

This is a lot of text just to have something ...

This is a lot of text just to have something ...

/*
     * C# Program to Accept the Height of a Person & Categorize as 

     * Tall, Dwarf or Average

     */

    using System;

    class program

    {

        public static void Main()

        {

            float height;

            Console.WriteLine("Enter  the Height (in centimeters) \n");

            height = int.Parse(Console.ReadLine());

            if (height < 150.0)

                Console.WriteLine("Dwarf \n");

            else if ((height >= 150.0) && (height <= 165.0))

                Console.WriteLine(" Average Height \n");

            else if ((height >= 165.0) && (height <= 195.0))

                Console.WriteLine("Taller \n");

            else

                Console.WriteLine("Abnormal height \n");

        }

    }

This is past the image.

https://cs.marlboro.college /cours /spring2018 /jims_tutorials /opengl /feb13
last modified Fri April 19 2024 4:54 am

attachments [paper clip]

  last modified size
TXT IMG_20170924_205338.jpg Fri Apr 19 2024 04:54 am 3.1M
TXT Screen_Shot_2018-02-13_at_11.51.32_AM.png Fri Apr 19 2024 04:54 am 150K
TXT Screen_Shot_2018-02-26_at_2.26.45_PM.png Fri Apr 19 2024 04:54 am 409K