#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
*/
#include<iostream.h>
#include<conio.h>
#include<fstream.h>
If you're going to put your homework on answers.com, at least type the whole question. There's obviously some contextual information missing...
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.
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
write a c program to display marks,total,average,grade using union
Memory allocation is not necessary to display a matrix.
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.
student details example by html
This depends on your choice of display stand suppliers, as well as your display stand structure, materials, design requirements.
A display file is a data structure used in computer graphics to represent the graphical elements that need to be displayed on a screen. Its structure typically includes information about various graphical entities such as points, lines, polygons, and their attributes. Here's a simplified description of the structure of a display file: 1**. Header Information:** Contains general information about the display file, such as the resolution of the screen, color depth, and other display-specific parameters. 2**. Primitive Information:** Represents the basic graphical entities to be displayed, including points, lines, and polygons. Each primitive entry includes details like coordinates, color, and other attributes. 3**. Attributes:** Specifies attributes for the primitives, such as color, line style, fill pattern, transparency, etc. These attributes determine the visual appearance of the primitives. 4.Transformation Matrices: Matrices used for transformations like translation, rotation, and scaling. Allow the modification of the position and size of graphical elements. Clipping Information: Describes the region of the screen that is currently visible or the clipping window. Helps in removing parts of primitives that are outside the visible area. Coordinate System Information: Defines the coordinate system used within the display file. Specifies the mapping of logical coordinates to physical screen coordinates. Hierarchy Information (Optional): If the display file represents a complex scene with a hierarchical structure, information about parent-child relationships and transformations might be included. Animation Information (Optional): If the display file is part of an animation, it may include details about the sequence and timing of frames. Overall, the display file serves as a structured representation of the graphical elements, their attributes, and the necessary information for rendering and displaying images on a computer screen. The specific details of a display file's structure may vary depending on the graphics system and its requirements.
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.
Details
Cardiovascular scanning is the correct answer. echocardiogram Real time scan- type of scanning that uses ultrasonic technology with a display of both structure and motion with time.
My account > Profile setup > Personal details > Age: Do not display my age
Device Manager>Display Adapters>*choose your video card*>Properties>Driver> Click Driver Details for the finish -Chilltown
The federal goverenment specifically addresses which companies must display the poster. This information can be obtained from the Department of Labors Website
Means the quality of the picture is not blurred or smoothed and details of the picture easy to see