#include<stdio.h>
#include<conio.h>
#include<string.h>
#include<alloc.h>
void main()
{
int i=-1,j;
char ch='y';
struct emp
{
int eno;
char ename[30];
int salary;
};
struct emp *p;
clrscr();
p=(struct emp *)malloc(sizeof(struct emp));
while(ch=='y'ch=='Y')
{
i++;
printf("\nenter the employee id:-");
scanf("%d",&p[i].eno);
printf("\nenter the employee name:-");
scanf("%s",&p[i].ename);
printf("\nenter the salary:-");
scanf("%d",&p[i].salary);
printf("\ndo you want to continue(Y|N):-");
scanf("%s",&ch);
}
printf("\ninfromation about employees\n");
printf("employee id| employeename| salary");
printf("\n-----------|-------------|-------\n");
for(j=0;j<=i;j++)
{
printf("\n%d | %s | \%d",p[j].eno,p[j].ename,p[j].salary);
}
getch();
}
/*--------------------OUTPUT--------------
enter the employee id:-101
enter the employee name:-peersaab
enter the salary:-12000
do you want to continue(Y|N):-y
enter the employee id:-102
enter the employee name:-santosh
enter the salary:-15000
do you want to continue(Y|N):-n
infromation about employees
employee id| employeename| salary
-----------|-------------|-------
101 | peersaab | 12000
102 | santosh | 15000
*/
student details example by html
To write a C++ program to display the student details using class and array of object.
You can show multiple inheritance by inheriting student details like name ,Admission number ,Parents name, address and other information from a school class and then also inherit his marks detail from the his Class's class like Grade 3rd . You will get his marks information from there. Then go forward and make functions to calculate the average marks and display the details.
The control used to sharpen or enhance the display on an oscilloscope is typically the "Focus" knob. This knob adjusts the sharpness of the waveform display, allowing for clearer visibility of the signal details. Additionally, the "Intensity" control can be used to adjust the brightness of the trace, improving overall visibility. Together, these controls help ensure accurate readings and analysis of the waveform.
Design an If-Then statement (or a flowchart with a single alternative decision structure) that assigns 0 to the variable b and assigns 1 to the variable c if the variable a is less than 10. Design an If-Then-Else statement (or a flowchart with a dual alternative decision structure) that assigns 0 to the variable b if the variable a is less than 10. Otherwise, it should assign 99 to the variable b. The following pseudocode contains several nested If-Then-Else statements. Unfortunately, it was written without proper alignment and indentation. Rewrite the code and use the proper conventions of alignment and indentation. If score < 60 Then Display "Your grade is F." Else If score < 70 Then Display "Your grade is D." Else If score < 80 Then Display "Your grade is C." Else If score < 90 Then Display "Your grade is B." Else Display "Your grade is A." Design nested decision structures that perform the following: If amount1 is greater than 10 and amount2 is less than 100, display the greater of amount1 and amount2. Rewrite the following If-Then-Else If statement as a Select Case statement. If selection == 1 Then Display "You selected A." Else If selection == 2 Then Display "You selected 2." Else If selection == 3 Then Display "You selected 3." Else If selection == 4 Then Display "You selected 4." Else Display "Not good with numbers, eh?" End If Design an If-Then-Else statement (or a flowchart with a dual alternative decision structure) that displays “Speed is normal” if the speed variable is within the range of 24 to 56. If speed holds a value outside this range, display “Speed is abnormal.” Design an If-Then-Else statement (or a flowchart with a dual alternative decision structure) that determines whether the points variable is outside the range of 9 to 51. If the variable holds a value outside this range it should display “Invalid points.” Otherwise, it should display “Valid points.” Design a case structure that tests the month variable and does the following: If the month variable is set to 1, it displays “January has 31 days.” If the month variable is set to 2, it displays “February has 28 days.” If the month variable is set to 3, it displays “March has 31 days.” If the month variable is set to anything else, it displays “Invalid selection.” Write an If-Then statement that sets the variable hours to 10 when the flag variable minimum is set. End If End If End If End If
Memory allocation is not necessary to display a matrix.
student details example by html
Did you know that memory allocation is not needed to display the matrix? However, the C program is to find the sum of all the elements.
To show the contents of a table in MySQL, you can use the SELECT statement. For example, to display all columns from a table named employees, you would run the command SELECT * FROM employees;. If you want to show specific columns, you can specify them, like SELECT first_name, last_name FROM employees;. To view the structure of a table, you can use DESCRIBE table_name; or SHOW COLUMNS FROM table_name;.
According to the U.S. Department of Labor, all emplorers must display a labor law compliance poster somewhere in the workplace. Employees must be able to see this poster and understand his or her rights.
This depends on your choice of display stand suppliers, as well as your display stand structure, materials, design requirements.
Details
In computer graphics, a display file is a data structure that contains information about the objects to be displayed on the screen. This information typically includes geometric data such as vertices and edges, as well as attributes like color and texture. The structure of a display file can vary depending on the specific graphics system or software being used, but it generally organizes the data in a way that allows for efficient rendering and manipulation of the displayed objects.
Jellyfish do not display segmentation. They have a simple, non-segmented body structure compared to other animals like earthworms or insects.
The federal goverenment specifically addresses which companies must display the poster. This information can be obtained from the Department of Labors Website
Employees can navigate the display of religious symbols at work by being respectful of diverse beliefs, understanding company policies regarding religious expression, and engaging in open and respectful communication with colleagues and supervisors to ensure inclusivity for all.
My account > Profile setup > Personal details > Age: Do not display my age