1 777
Suscriptores
-224 horas
-147 días
-3630 días
Archivo de publicaciones
1 777
CALL BY VALUE
#include<iostream>
using namespace std;
void add(int y,int z)
{
int x;
x=y+z;
cout<<"Add="<<x;
}
int main()
{
add(10,20);
}
//the output is ....30
1 777
How to find the factorial of any number using for loop.? That accept a num from user
#include<iostream>
using namespace std;
int main()
{
int no,f=1;
cout<<"Enter any number\n";
cin>>no;
for(int i=1;i<=no;i++)
{
f=f*i;
}
cout<<"Factorial="<<f;
}
<tryOnYourCompiler>
👉👉
https://t.me/PROGRAMINGLANGUAGES1
1 777
@ltc
ASCII{American standard code for information exchange}
#include<iostream>
using namespace std;
int main()
{
for(char ch='A';ch<='Z';ch++)
{
cout<<ch<<"="<<(int)ch<<"\n";
}
}
A =65
B=66
C = 67
D = 68
E = 69
F = 70
.
.
.
.
.
.
X = 88
Y = 89
Z = 90
👉👉https://t.me/PROGRAMINGLANGUAGES1
1 777
LTC2.Which of the following is incorrect method to subtract a value of 1 from the variable 'i' ?
1 777
The evaluated value this c++ statement is __» x = 2 % 2 + 2 * 2 - 2 / 2;
1 777
An example of code to demonstrate SWITCH statements
editor:[ https://t.me/PROGRAMINGLANGUAGES1]
#include <iostream>
using namespace std;
int day = 4;
switch (day) {
case 1:
cout << "Monday";
break;
case 2:
cout << "Tuesday";
break;
case 3:
cout << "Wednesday";
break;
case 4:
cout << "Thursday";
break;
case 5:
cout << "Friday";
break;
case 6:
cout << "Saturday";
break;
case 7:
cout << "Sunday";
break;
}
// Outputs "Thursday" (day 4)
source: [https://www.w3schools.com/CPP/cpp_switch.asp]
1 777
Algorithm to find whether a Number is Prime Number or Not
What is a Prime Number?
A number that's only divisible by 1 and itself is named a Prime Number. For Example, 3, 5, 7, 11 are Prime Numbers.
Note: 2 is the only even prime number.
Flowchart for Prime Number:
Algorithm
Algorithm for Prime Number:
Step 1: Start
Step 2: Initialize variables num,flag=1, j=2
Step 3: Read num from user
Step 4: If num<=1 // Any number less than 1 is not a prime number
Display "num is not a prime number"
Goto step 7
Step 5: Repeat the steps until j<[(n/2)+1]
5.1 If remainder of number divide j equals to 0,
Set flag=0
Goto step 6
5.2 j=j+1
Step 6: If flag==0,
Display num+" is not prime number"
Else
Display num+" n is prime number"
Step 7: Stop
1 777
flowchart that determines the sqare root of a quadratic equation. it starts from accepting an input from user
1 777
[ Photo ]
Step 1. Start
Step 2. Read the coefficients of the equation, a, b and c from the user.
Step 3. Calculate discriminant = (b * b) – (4 * a * c)
Step 4. If discriminant > 0:
4.1: Calculate root1 = ( -b + sqrt(discriminant)) / (2 * a)
4.2: Calculate root2 = ( -b - sqrt(discriminant)) / (2 * a)
4.3: Display “Roots are real and different”
4.4: Display root1 and root2
Step 5: Else if discriminant = 0:
5.1: Calculate root1 = -b / (2 *a)
5.2: root2 = root1
5.3: Display “Root are real and equal”
5.4: Display root1 and root2
Step 6. Else:
6.1: Calculate real = -b / (2 * a)
6.2:Calculate imaginary = sqrt(-discriminant) / (2 * a)
6.3: Display “Roots are imaginary”
6.4: Display real, “±” , imaginary, “i”
Step 7. Stop
1 777
የኳንተም ስሌት እና የኳንተም መረጃ ለኮምፒዩተር ሳይንስ፣ ሂሳብ፣ ፊዚካል ሳይንሶች እና ምህንድስና ከፍተኛ ተያያዥነት አላቸው። በኮሙኒኬሽን፣ ስሌት እና ምስጠራ ላይ አዲስ የቴክኖሎጂ ፈጠራዎችን ያሳያሉ። የኳንተም ፊዚክስ ፅንሰ-ሀሳብ በመሠረቱ ስሮቶካስቲክ ስለሆነ፣ ዘፈቀዳዊነት (randomness) እና እርግጠኛ አለመሆን (uncertainity) በኳንተም ስሌት(quantum computation)፣ በኳንተም ማስመሰል (quantum simulation) እና በኳንተም መረጃ (quantum information) ላይ ጥብቅ ግንኙነት አላቸው። ስለዚህም የኳንተም ስልተ ቀመሮች በተፈጥሮ ዘፈቀዳዊ (random) ናቸው፣ እና ኳንተም ማስመሰል የሞንቴ ካርሎ ቴክኒኮችን በስፋት ይጠቀማል። ስለዚህ ስታቲስቲክስ በኳንተም ስሌት እና ኳንተም ማስመሰል ውስጥ ትልቅ ሚና ሊጫወት ይችላል፣ይህም በተራው ደግሞ የስታቲስቲክስ ስሌትን ለመለወጥ ትልቅ አቅም ይሰጣል። በጥንታዊ ኮምፒውተሮች የውሸት ቁጥሮች (pseudorandom numbers) ብቻ ሊፈጠሩ የሚችሉ ሲሆኑ፣ ኳንተም ኮምፒውተሮች እውነተኛ የዘፈቀደ ቁጥሮችን (genuine random numbers) መፍጠር ይችላሉ። ኳንተም ኮምፒውተሮች የሚዲያን ግምገማን፣ የሞንቴ ካርሎ ውህደትን እና የማርኮቭ ሰንሰለት ማስመሰልን በአፋጣኝ ወይም በአራት ደረጃ ማፋጠን ይችላሉ።
1 777
#L_T_C
#Websites where companies post part-time, full-time and remote positions
Indeed — https://www.indeed.com
Craigslist — https://www.craigslist.com
Simply Hired — https://www.simplyhired.com
Authentic Jobs — https://authenticjobs.com
Robert Half — https://www.roberthalf.com
Krop — https://www.krop.com
Career Builder — https://www.careerbuilder.com
Linkedin Profinder — https://www.linkedin.com/profinder
Mashable — http://jobs.mashable.com/jobs/browse
Smashing Magazine — https://www.smashingmagazine.com/jobs
Power To Fly (Women) — https://powertofly.com
Who Is Hiring — https://whoishiring.io
WebDevJobs — https://webdevjobs.co
Aquent — https://aquent.com
Idealist — https://www.idealist.org
The Muse — https://www.themuse.com
Landing Jobs (UK) — https://landing.jobs
Sologig — https://www.sologig.com
Dice — https://www.dice.com
WPHired (Wordpress) — https://www.wphired.com
GitHub Jobs — https://jobs.github.com
Stack Overflow — https://stackoverflow.com/jobs
Startup Job Find
Websites that specialize in jobs for startup companies
Angel — https://angel.co
Underdog — https://underdog.io
Product Hunt — https://www.producthunt.com/jobs
Startupers — https://www.startupers.com
ycombinator — https://news.ycombinator.com/jobs
Freelancer Sites
Websites where individuals and companies post specific projects for freelancers
Upwork — https://www.upwork.com
Freelancer — https://www.freelancer.com
Freelancermap — https://www.freelancermap.com
Guru — https://www.guru.com
Outsource — https://outsource.com
Local Solo — https://localsolo.com
People Per Hour — https://www.peopleperhour.com
CloudPeeps — https://www.cloudpeeps.com
GigGrabbers — https://www.giggrabbers.com
Lemon.io — https://lemon.io
Screened Freelancer Sites
Websites where they screen the freelancers to get the best possible providers for clients
Toptal — https://www.toptal.com
Coworks — https://coworks.com
Gun — https://www.gun.io
Folyo — https://folyo.me
Remote Jobs
Websites that focus on getting people remote work
Remoteco — https://remote.co/remote-jobs
We Work Remotely — https://weworkremotely.com
Remotive — https://remotive.io
Skip The Drive — https://www.skipthedrive.com
Working Nomads — https://www.workingnomads.co/jobs
Flex Jobs — https://www.flexjobs.com
Youteam — http://youteam.io
Micro Jobs/Services
Websites where you can post a service that you offer, usually for a low price
Fiverr — https://www.fiverr.com
Envato Studio — https://studio.envato.com
Gigbucks — https://gigbucks.com
Zeerk — https://zeerk.com
Task Army — https://taskarmy.com
Damongo — https://www.damongo.com
For Designers
Websites that are geared more toward designers and UI/UX
Behance — https://www.behance.net
Dribble — https://dribbble.com/jobs
Coroflot — https://www.coroflot.com/design-jobs
UX Job Board — https://www.uxjobsboard.com
DesignHill — https://www.designhill.com
Contests & Challenges
Websites that offer challenges and contests but at the same time, can get you hired
Topcoder — https://www.topcoder.com
Challenge Rocket — https://challengerocket.com
Hacker Rank — https://www.hackerrank.com
Big Companies
Microsoft — https://careers.microsoft.com/us/en
Google — https://careers.google.com/jobs
Amazon — https://www.amazon.jobs/
Apple — https://www.apple.com/jobs/us
Netflix — https://jobs.netflix.com
Ebay — https://careers.ebayinc.com/join-our-team/start-your-search
source: telegram channel
https://t.me/PROGRAMINGLANGUAGES1
1 777
ADAMA SCIENCE AND TECHNOLOGY C++ MID EXAM . NEW
👍👌👌https://t.me/PROGRAMINGLANGUAGES1
https://t.me/PROGRAMINGLANGUAGES1
1 777
🖇C++ class and 🔖object
Classes and objects are the two main aspects of object-oriented programming. class is a template for objects, and an object is an instance of a class.
🚙for example;. Take CAR as a class ,
{volvo,Toyota,Ferari,Audi} can be objects of this class.
let's see sample code by creating class
#include <iostream>
#include <string>
using namespace std;
class MyClass { // The class
public: // Access specifier
int myNum; // Attribute (int variable)
string myString; // Attribute (string variable)
};
int main() {
MyClass myObj; // Create an object of MyClass
// Access attributes and set values
myObj.myNum = 15;
myObj.myString = "Some text";
// Print values
cout << myObj.myNum << "\n";
cout << myObj.myString;
return 0;
}
our print values would be
15
some text
https://t.me/PROGRAMINGLANGUAGES1
https://t.me/PROGRAMINGLANGUAGES1
thanks for reading!!
¡Ya disponible! Investigación de Telegram 2025 — los principales insights del año 
