c

Sample C Questions

Submitted by deepak.gupta1501 on
The Folder contains 34 C Programs including : Armstrong number between 1 to 500, Calculate Profit and Loss, Check an year for leap year, Check whether a number is odd or even, Check whether a triangle is valid or not, Compare 'Area and Perimeter' of Rectangle, Convert Decimal number into its binary equivalent, Delete an element from an array at a particular position, Display ASCII value for a

Create Pattern, Print Series, Working with Records, Use Numeric Functions, Work with arrays

Submitted by deepak.gupta1501 on
The objective of this assignment is to develop a menu driven application that will enable the user to use its different features to print various series, work with records and arrays, create patterns, use number functions and exit the application. The application should provide the following options in the main menu, however this menu is further classified into another menus:- • Create Pattern •

How to Calculate Any Day of the Week?

Submitted by oursharingclub on
Author : Walter Date : September 27, 2014 Firday MyBlog : http://learningpen.blogspot.com/ Tool : Dev C++ Language : C++ Function : Calculate any day of the week? #include #include // for floor() #include // for getch() #include // for exit() #include // for system() using std::cout; using std::cin; //======================= void Menu( void ); int main( void ) { Menu(); return 0; }// End of main

Password Security Version 2.0

Submitted by oursharingclub on
Password.cpp Author : oursharingciub Date : September 26, 2014 Firday Email : [email protected] Tool : Dev C++ Language : C++ Notice: Reference Mr. Jake Rodriguez Pomperada programming #include #include #include #include //system(), Sleep( ) #include using namespace std; const int PASSLEN= 7 ; //The length of password string PassGet( void ); // Get the password void Menu( void ); //The start

Learning Nested Loops

Submitted by Muzammil Muneer on

Learning Nested loops

In this part you will learn: 1. C syntax 2. Nested Loops 3. More on For loops In this tutorial I will teach you about Nested For loops. We see some more examples of for loop in this tutorial. Printing Triangle with stars Basic Step: Open Dev C++ then File > new > source file and start writing the code below.

Prototyping in C++

Submitted by Yorkiebar on
Introduction: This tutorial is on how to use Function Prototyping in C/C++. Function File: Here is a basic function file which, after running the 'int main' function, runs a custom function named 'calculate' which returns an integer and is output to the screen.
  1. #include <iostream>

Learn C in 15 Days

Submitted by moazkhan on
C language is one of the most basic and easy to learn language. It provides a gateway for entering into the programming world. C language covers all the basic concepts of programming and helps you learn structured programming practice which is the base for learning object oriented programming. In this book we will first learn the syntax and then cover the important topics which are needed for programming in all the languages like conditional statement, loops , arrays , functions , file handling ,structures etc. Whenever you want to give any suggestion feel free to comment.

Language Use List: Groovy Enters Top-20; C Still on Top

Submitted by jproimakis on
Dramatic jumps over the past year have seen the Groovy language break into the top-20 list of programming languages, reaching the 18th spot, according to this month’s Tiobe index of programming language popularity. A dynamic language for the Java Virtual Machine, Groovy has managed to jump over 35 spots since last year, when it was ranked at the 53rd position. Though its use percentage is at a