Posts

Showing posts from December, 2016

2.C++ Program to Print Number Entered by User

C++ Program to Print Number Entered by User In this example, you'll learn to print the number entered by a user using C++ cout statement. Example: Print Number Entered by User #include <iostream> using namespace std ; int main () { int number ; cout << "Enter an integer: " ; cin >> number ; cout << "You entered " << number ; return 0 ; } Output Enter an integer: 23 You entered 23 This program asks user to enter a number. When user enters an integer, it is stored in variable  number  using  cin . Then it is displayed in the screen using  cout . Check out these related examples: C++ Program to Display Factors of a Number C++ Program to Check Whether a Number is Prime or Not C++ Program to Display Armstrong Number Between Two Intervals

C++ Programming Examples Page

C++ Programming Examples Page C++ Examples 1.C++ "Hello, World!" Program 2.C++ Program to Print Number Entered by User 3.C++ Program to Add Two Numbers 4.C++ Program to Find Quotient and Remainder 5.C++ Program to Find Size of int, float, double and char in Your System 6.C++ Program to Swap Two Numbers 7.C++ Program to Check Whether Number is Even or Odd 8.C++ Program to Check Whether a character is Vowel or Consonant. 9.C++ Program to Find Largest Number Among Three Numbers 10.C++ Program to Find All Roots of a Quadratic Equation 11.C++ Program to Calculate Sum of Natural Numbers 12.C++ Program to Check Leap Year 13.C++ Program to Find Factorial 14.C++ Program to Generate Multiplication Table 15.C++ Program to Display Fibonacci Series 16.C++ Program to Find GCD 17.C++ Program to Find LCM 18.C++ Program to Reverse a Number 19.C++ Program to Calculate Power of a Number 20.Increment ++ and Decrement -- Operator Overloading in C++  

63.C Program to Store Information of a Student in a Structure

C Program to Store Information of a Student in a Structure This program stores the information (name, roll and marks entered by the user) of a student in a structure and displays it on the screen. To understand this example, you should have the knowledge of following C++ programmingtopics: C++ Structures C++ Strings In this program, a structure(student) is created which contains name, roll and marks as its data member. Then, a structure variable(s) is created. Then, data (name, roll and marks) is taken from user and stored in data members of structure variable  s . Finally, the data entered by user is displayed. Example: Store and Display Information Using Structure #include <iostream> using namespace std ; struct student { char name [ 50 ]; int roll ; float marks ; }; int main () { student s ; cout << "Enter information," << endl ; cout << "Enter name: " ;

Google voice access

Image
Google voice access 1.0.1 beta version for testing purpose.... This release does not have a Play Store Description, so we grabbed one from version 1.0 (beta): Note: This app only works for Lolipop and higher versions Voice Access is an accessibility service that helps users who have difficulty manipulating a touch screen (e.g. due to paralysis, tremor, or temporary injury) use their Android devices by voice. For help using Voice Access, see  Voice Access support . Voice Access provides voice commands in three categories: - Basics and navigation from any screen (e.g. "go back", "go home") - Gestures to interact with things on the current screen (e.g. "click next", "scroll down") - Text editing and dictation (e.g. "type hello", "replace coffee with tea") You can access on-screen help by saying "What can I say?" within Voice Access. You can also see the full list of voice commands by going to Voic