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 Sat December 21 2024 6:28 pm

attachments [paper clip]

  last modified size
TXT IMG_20170924_205338.jpg Sat Dec 21 2024 06:28 pm 3.1M
TXT Screen_Shot_2018-02-13_at_11.51.32_AM.png Sat Dec 21 2024 06:28 pm 150K
TXT Screen_Shot_2018-02-26_at_2.26.45_PM.png Sat Dec 21 2024 06:28 pm 409K