Skip to main content

C Structures

 

C Structures

1)make a structure for employee

   name

   email

   occupation

Ask the user to enter these details for 3 employees

then ask the user whose details he wants to display (1 or 2 or 3) depending on his choice display that employee details.


Comments

Popular posts from this blog

Software Development Life Cycle

  Hi Friends!! Interested in developing software projects? Need a website for your business? Want to develop an app of your idea? Yes!. So before developing, let us understand what are the different stages to develop software. Below 7 stages will help in developing a quality software product. Requirements Gathering  Analysis Design Coding Testing Implementation Maintenance Requirements gathering If you want to make your product. Understand what product you want to develop. Plan the product. Gather the content required for making the product. Ex: Want to develop a website for school. Plan the website, like website should contain pages for home, about, courses, gallery, contact. Get the content of mission, vision, gallery, etc of school. If you are working for a client(who needs software) product, then understand the client requirement. Ask questions to understand the product like what functionalities should the product contain?collect all his requirements and have a basic plan ...

C programming with practical Questions

Basics C language is one of the powerful languages. Below are some of the features of C language. Ø   Reliability Ø   Portability Ø   Flexibility Ø   Interactivity Ø   Modularity Ø   Efficiency and Effectiveness   1) C program to calculate Simple Interest. Given principal (amount), time and interest rate by user, calculate simple interest based on given rate of given time period. 2) Ask the employee details   Name   initial---(surname only single letter, take datatype as char)   Age   Salary-(take datatype double)   expected expenditure   actual expenditure   and   display name and remaining balance of salary.    Operators The symbols which are used to perform logical and mathematical operations in a C program are called C operators. These C operators join individual constants and variables to form expressions. Operators...