Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

C+ using GUI objects and forms Programming transfer data between a combo box con

ID: 3597479 • Letter: C

Question

C+ using GUI objects and forms Programming transfer data between a combo box control and an outside flat file by using the openfiledialog Control and creating separate event procedures from the farm control. I would like to get some help with writing two C+ programs 1. Write a C+ windows form program that ask your name in a (text box ) and print the following message in the label: hello, your name! 2.Write a C+ windows form program that asked for three numbers and prints the average value.
Code for both questions 1,2 needed TY

C+ using GUI objects and forms Programming transfer data between a combo box control and an outside flat file by using the openfiledialog Control and creating separate event procedures from the farm control. I would like to get some help with writing two C+ programs 1. Write a C+ windows form program that ask your name in a (text box ) and print the following message in the label: hello, your name! 2.Write a C+ windows form program that asked for three numbers and prints the average value.
Code for both questions 1,2 needed TY

Programming transfer data between a combo box control and an outside flat file by using the openfiledialog Control and creating separate event procedures from the farm control. I would like to get some help with writing two C+ programs 1. Write a C+ windows form program that ask your name in a (text box ) and print the following message in the label: hello, your name! 2.Write a C+ windows form program that asked for three numbers and prints the average value.
Code for both questions 1,2 needed TY

Explanation / Answer

1) 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;

namespace hello_world
{
public partial class FormMain : Form
{
private int count = 0;

public FormMain()
{
InitializeComponent();
}

private void ButtonHello_Click(object sender, EventArgs e)
{
count++;   
LabelCount.Text = count.ToString();
LabelHello.Text = "Hello, world!";   
}
}


2) #include <iostream>
using namespace std;

const int NUM_SCORES = 3;

int main()
{
int score1, score2, score3;
float ave;
cout << "Enter 3 scores separated by spaces: ";
cin >> score1 >> score2 >> score3;

ave = float(score1 + score2 + score3) / float(NUM_SCORES);

cout << "The average of " << score1 << ", " << score2 << ", and "
<< score3 << " is " << ave << "." << endl;
return 0;