Posts

Showing posts from 2016

पास्कल त्रिकोण के लिए c++ में program कैसे बनाना है

Image
इस सी ++ प्रोग्राम जो पास्कल त्रिकोण प्रिंट। कार्यक्रम इनपुट के रूप में पंक्तियों की संख्या लेता है और पास्कल त्रिकोण मुद्रित करने के लिए नेस्ट छोरों का उपयोग करता है। पहली भीतरी लूप खरोज जगह बनाता है और दूसरा भीतरी लूप द्विपद गुणांक का मान की गणना करता है, खरोज जगह बनाता है और उस विशेष स्तंभ के लिए द्विपद गुणांक प्रिंट। यहां सी ++ प्रोग्राम है जो पास्कल त्रिकोण प्रिंट के स्रोत कोड है। सी ++ कार्यक्रम को सफलतापूर्वक संकलित और एक लिनक्स सिस्टम पर चलाया जाता है। कार्यक्रम उत्पादन भी नीचे दिखाया गया है। #include<iostream> using namespace std;   int main() {     int rows;     cout << "Enter the number of rows : ";     cin >> rows;     cout << endl;       for (int i = 0; i < rows; i++)     {         int val = 1;         for (int j = 1; j < (rows - i); j++)         {        ...

How to make pascal's triangle using for loop in c++

Image
This C++ Program which prints pascal’s triangle. The program takes number of rows as input and uses nested loops to print pascal’s triangle. The first inner loop creates the indentation space and the second inner loop computes the value of binomial coefficient, creates indentation space and prints the binomial coefficient for that particular column. Here is source code of the C++ program which prints pascal’s triangle. The C++ program is successfully compiled and run on a Linux system. The program output is also shown below. IF YOU ARE USING MODERN COMPILERS LIKE DEV C++ AND CODEBLOCK S #include<iostream> using namespace std; int main() {     int rows;     cout << "Enter the number of rows : ";     cin >> rows;     cout << endl;     for (int i = 0; i < rows; i++)     {         int val = 1;         for (int j = 1; j < ...

C++ Program to make calculator using switch case and the program should continue as user wants

Image
#include<iostream.h> #include<conio.h> void main() { clrscr(); float a,b,c; char op,ch1; do { cout<<"enter first number ::: "; cin>>a; cout<<"enter second number ::: "; cin>>b; cout<<"enter the operator ::: "; cin>>op; switch(op) {             case '+': c=a+b; cout<<"The Calculated result is ::: "<<c; break;  case '-':  c=a-b;     cout<<"The Calculated result is ::: "<<c;     break;     case '*':  c=a*b; cout<<"The Calculated result is ::: "<<c; break; case '/':  c=a/b;   cout<<"The Calculated result is ::: "<<c;   break; default: cout<<"wrong operator used"; cin>>ch1; }//switch statement close cout<<"\nDo you want to continue(y/n) :: ";          cin>>ch1; ...

How to extend validity or generate new Jio Coupon Code if Expired

Image
My Bar Code Expired? Reason-  Because you have installed the app before. The coupon is valid for only 15 Days from the date of app installed. What now? Use any other 4G phone and generate a offer code.take a screenshot of it.Share this screenshot to your Samsung device. Get a jio sim for your 4G mobile.Use your Samsung device as a reference only. We are thinking about any plan but wait for tomorrow to make sure. Note- Reset of phone,CC Cleaner,Cache data,Clear Data will not working if your bar code/offer code/coupon code has been expired. Supported Samsung Devices- Galaxy A3, Galaxy A5, Galaxy A5 2016, Galaxy A5 Duos, Galaxy A7, Galaxy A7 2016, Galaxy A8, Galaxy Alpha, Galaxy Core Prime, Galaxy Grand Max, Galaxy J max, Galaxy J1 Ace, Samsung Galaxy J1 Ace, Galaxy J2, Galaxy J2 (2016), Galaxy J2 Pro, Galaxy J3, Galaxy J5, Galaxy J5 (2016), Galaxy J7, Galaxy J7 (2016), Galaxy K Zoom, Galaxy Note 3, Galaxy Note 4, Galaxy Note 5, Galaxy Note 5 Duos, Galaxy Note 7, Galaxy Note Edge,...