#include <iostream> using namespace std; class A { public: Β Β void show() { Β Β Β Β cout << “Diamond pattern: “; Β […]
Read moreCategory: c++
Reversing the Array
Reversing the Array Reversing the Array Write a program to takeΒ input of integer array of size 5 and display the array […]
Read morePrint Even Odd with help of function
Print Even Odd with help of function Print Even Odd with help of function #include <stdio.h> #include <stdbool.h> bool isPrime(int num) { if (num […]
Read moreRight Triangle Star Pattern
Right Triangle Star Pattern Right Triangle Star Pattern #include<stdio.h> int main(){ int n; printf(“Enter number\n”); scanf(“%d”,&n); for(int i=1; i<=n; i++) { for(int j=1; j<=i; […]
Read moreFish pattern program
#include<stdio.h> int main() { int x,y,t; for(t=0;t<50;t++) { for(y=7;y>-8;y–) { for(x=-7;x<=10;x++) { if(y==7) { if((x+t)%2!=0) printf(“–“); else printf(“~~”); } else if(y==-7) printf(“__”); else if(y==6) […]
Read moreButterfly Pattern Program
Butterfly Pattern Program Butterfly Pattern Program #include<stdio.h> int main(){ Β Β int n; Β Β scanf(“%d”,&n); Β Β for(int i=1;i<=n;i++){ Β Β Β Β […]
Read moreBCA Notes Link
BCA Notes Link (Shivam) BCA Notes Link (Shivam) Link : click here Topics Covered : bca notes bca notes app bca notes […]
Read moreresult calculator , simple function program , function in c , function in java , functions, function overloading
result calculator , simple function program , function in c , function in java , functions, function overloading result calculator , simple function program , […]
Read moreDefine a Function array() which takes input in array and a function sum() which calculate the sum of the same array. Call the function in main() in a loop of five times – Simple loop and array question , matrix question , 2d array question
Define a Function array() which takes input in array and a function sum() which calculate the sum of the same array. Call the function in […]
Read moreInput two matrix in 3-D array and multiply and store in another array – Simple loop and array question , matrix question , 2d array question
Input two matrix in 3-D array and multiply and store in another array – Simple loop and array question , matrix question , 2d array […]
Read more
Recent Comments