Find Us On: Facebook Twitter Rss Feed Blog
Need To Register? Sign Up Login

programing visual studio c#

leeth
leeth 


Part 1: 1. Create an application that displays a table of the Fahrenheit temperatures 0 through 100, in increments of 5, and their centigrade equivalents. 2. The application should use a loop to display the temperatures in a list box. 3. Write a method that takes a Fahrenheit temperature as an argument and calculates and returns the equivalent Centigrade temperature. If F is the Fahrenheit temperature and C is its equivalent centigrade temperature, the formula for performing this conversion is C = (F - 32) * 5 / 9 Attachments
Tags Clarifications

Answers

C# - Fahrenheit Celsius Converter - Solution

dickersonka
dickersonka 



Attached is the solution... Attachments
Temperature.zip (40 K) Download


















Preview
System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace Temperature { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) {

Preview
System.Drawing.Point(77, 54); this.listBoxTemps.Name = "listBoxTemps"; this.listBoxTemps.Size = new System.Drawing.Size(300, 316); this.listBoxTemps.TabIndex = 0; // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(459, 426); this.Controls.Add(this.listBoxTemps); this.Name = "Form1"; this.Text = "Fahrenheit To

Preview
2010\Projects\Temperature\Temperature\bin\Debug\Temperature.exe c:\users\kdickerson.cosairus\documents\visual studio 2010\Projects\Temperature\Temperature\bin\Debug\Temperature.pdb c:\users\kdickerson.cosairus\documents\visual studio 2010\Projects\Temperature\Temperature\obj\x86\Debug\ResolveAssemblyReference.cache c:\users\kdickerson.cosairus\documents\visual

Preview
static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new Form1()); }

Preview
// Version information for an assembly consists of the following four values: // // Major Version // Minor Version // Build Number // Revision // // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below:

Preview
global::System.Resources.ResourceManager resourceMan; private static global::System.Globalization.CultureInfo resourceCulture; [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] internal Resources() { } /// <summary> /// Returns the cached ResourceManager instance used by this class. /// </summary> [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsabl

Preview
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")] internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); public static Settings Default

screenshot.jpg (61 K) Download Preview

Screenshots
Screenshot
Purchase Answer