I'll link the assignment at the bottom just first going to show you what I have done!
Here are some constants I assuming I will need
const double MIN = 12.0 const double MAX = 36.0 const double SMALL = 20.0 const double MED = 24.0 const double LRG = 30.0 const int SLICES_SMALL = 8 const int SLICES_MED = 12 const int SLICES_LRG = 16 const int SLICES_XLRG = 24 const int INCREMENT = 4
And some variables
bool continue double diameter double pizzaArea int maxSlices int slices double sliceArea
Now I know how to ask for the diameter of the pizza which is simply:
Console.Write("Please enter the diameter of your pizza: ");
diameterPizza = int.Parse(Console.ReadLine());
Up to here is as far as I really know, I'm really bad at programming just need to get through this one course and never take it again. Oh here is the download link: Wikisend: free file sharing service assignment.docxEdit: Guys i'm trying to learn here so if you do post some code or whatever please explain it to me!
Thanks in advance!
Edited by Alyn, 28 October 2011 - 03:15 PM.
added code tag


Sign In
Create Account

Back to top









