Programming question. Using Visual Studio 2019 C#
Windows Form Application (.NET Framework)
Please include code for program with ALL conditions met.


Conditions to be met:

Code:
//Include libraries
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
//Define namespace
namespace WindowsFormsApplication5
{
//Define a class
public partial class Form1 : Form
{
//Define a constructor
public Form1()
{
//Initialize
InitializeComponent();
}
//Define a method
private void label1_Click(object sender, EventArgs e)
{
}
//Define a method
private void button1_Click(object sender, EventArgs e)
{
//If no value is given
if (TextBox1.Text == "")
{
//Display message
MessageBox.Show("amount is empty.");
}
//Otherwise
else
{
//Convert to double
double amt = Convert.ToDouble(TextBox1.Text);
//If amount is less than 40000
if (amt <= 40000)
{
//Display message
MessageBox.Show("You will need it this year. No investment needed.");
}
//Otherwise
else
{
//Declare variable
int year = 2015;
//Declare variable
double inr;
//If button checked
if (radioButton1.Checked)
//Declare variable
inr = 0.03;
//Otherwise
else
//Set value
inr = 0.04;
//Declare variable
String output;
//Display result
output = "You have chosen a " + (inr * 100) + "% inflation rate.";
//Display result
output += "\n\nYour investment starts at $" + amt + " and earns 7% a year.";
//Display result
output += "\n\nYou withdraw $40,000 a year.\n";
//Display result
output += "\nYear\tIntrest Earned\tBalance\n";
//Loop
while (amt > 0)
{
//Add 7% in amoujnt
amt = (amt - 40000) + ((amt - 40000) * 0.07);
//Update amount
amt = amt - (amt * inr);
//Display result
output += "\n" + year + "\t" + amt + "\t" + (amt - 40000) + "\n";
//Decrement
year--;
}
//Display result
output += "\nIt takes you " + (2015 - year) + " years to spend all of your inheritance.";
//Display output
MessageBox.Show(output);
//Close
this.Close();
}
}
}
}
}

Programming question. Using Visual Studio 2019 C# Windows Form Application (.NET Framework) Please include code for...
**This program is to be created using Visual Studio C#**Create as a Windows Form application** 1. Output a header in the console: "Program 1" 2. Next you will ask the user to enter three floats and read the values into variables. 3. Perform addition, multiplication, and division examples with the numbers entered. 4. Implicitly cast the floats into doubles. 5. Explicitly cast the floats into ints. 6. Use conversion methods to convert the floats into strings. 7. Ask the user...
This C++ Program should be written in visual studio 2017 You are to write a program that can do two things: it will help users see how long it will take to achieve a certain investment goal given an annual investment amount and an annual rate of return; also, it will help them see how long it will take to pay off a loan given a principal amount, an annual payment amount and an annual interest rate. When the user...
I need help modifying this code please ASAP using C++
Here is what I missed on this code below
Here are the instructions
Here is the code
Produce correct70 pts O pts Full Marks No Marks results and statisfy requirements view longer Comments 1. Your display amount is not readable 2. I withdraw more than my balance, but I didn't see any error message description Documentations10 pts 0 pts Full Marks No Marks : comment i code and block comment...
This is in C++ (using IDE Visual Studio). I am seeking
assistance ASAP. Please include a static member in the class to
automatically assign account numbers (used to process up to 10
accounts) and have the user include their first and last name.
Thank you!
13. a. Define the class bankAccount to store a bank customer's account number and balance. Suppose that account number is of type int, and balance is of type double. Your class should, at least, provide...
Using C# Language
Develop a Visual C# .NET application that performs a colour
control operation. The main form contains a reset button and sets
the form's background colour according to the colour values
indicated by the colour control objects. Each colour control object
is controlled by a corresponding colour control form which provides
a progress bar to show the value (in the range 0 to 255) of the
corresponding colour control object. The user can click the
increase (+) or...
I need help writing this code in C++ and I’m using xcode for
mac
the
objective is in the first picture and the rest is a sample output
of the code thaf needs to be similar
bjectives: . Perform C++ string object manipulation Understand how to manipulate data using arrays of structs Handle input errors and invalid values Design and create a wel-structure program using C++ basic programming constru Description: Write a menu-driven program that provides the following options 1....
Question 1 (Marks: 50 Develop a Java GUI application that will produce an investment report based on various criteria, such as investment amount, investment type and term. On the form create two text fields, one to capture the customer name and (10) Q.1.1 another to capture the amount to invest. Also create a combo box for the user to select the investment type which will be moderate or aggressive. Finally add three radio buttons for the user to select the...
Can you solve this proble by using C# application? C# is one of programming languages supported by Visual Studio 2015. It combines the features of Java and C ++ and is suitbale for rapid application development. A retail company must file a monthly sales tax report listing the total sales for the month, and the amount of state and county sales tax collected. The state sales tax rate is 4% and the county sales tax rate is 2%. Create an...
If you’re using Visual Studio Community 2015, as requested, the instructions below should be exact but minor discrepancies may require you to adjust. If you are attempting this assignment using another version of Visual Studio, you can expect differences in the look, feel, and/or step-by-step instructions below and you’ll have to determine the equivalent actions or operations for your version on your own. INTRODUCTION: In this assignment, you will develop some of the logic for, and then work with, the...
IN php .... I need Help I Need to Modify this application so it uses a persistent session to save the last values entered by the user for 5 minutes. At the top of the file (before the DOCTYPE html line) you will need to add a section of code which checks to see if a session id exists. If it does not, the code you add (which will be similar to the example on page 359) will need to...