Addition is an intrinsic operator that applies to all primitive data types, both signed and unsigned. There is no need to program it. The operands can be literal, constant or variable, hard-wired or generated from user-input, it makes no difference whatsoever.
#include<iostream>
int main()
{
std::cout<<"The sum of 1 and 2 is "<<(1+2)<<std::endl;
std::cout<<"The sum of 1.5 and 2.3 is "<<(1.5, 2.3)<<std::endl;
return(0);
}
int a = 17;
int b = 12;
int c;
c = a + b;
i want a c programme....if i have a collection of alphabhate appox 2000 or more...alphabates r repeted... i want to write a prograam such that first 7 terms r wrriten in first line then next 7 alphabets r writen in next line.. not fully clear ?? i would give u an example: TTCATCATTCCTAATATTTTTCTTGTAGTTGTTTTAAAAAAGGAATTAAC ATCCAATATTCTGTATTACATACTGTACACCAGATTTTGATTTCAGAAAA CAATATTTGATGTATAACTTCCACTTAATTTAAATTTAATAAACTTTTAT TTCAGAGATATTTGATTAGTTTACAATCTAAGAGTTATTCTTAAGAGTTT CAGTGGAATTTTCTTAATTTTTCTAAAGATATTCCTACTCTCTTGATCAT ATTCTAAGTACATATGAGTACATGTACATTCTTATACAATGTCTAAATGG GTTAGAAAATTATTATACCTATAGAAGCGAAACTTGGAAATTAATAGAAT CACTTAAACCAAAATCTTTATAAGACACAATTCTATTGATTTTAAAGCTT CTGCTTTCCAGGCTCTGTTTTCCAGAGTTTATAATTACGTAGTTTTTAGT AGATGAAAATAATGGATTCTTGTACCTAACATTTTATCCTCTTAGATCTA AGAGCCGAAGCTATAGAACTTTGTTAGACTATTTGGCAAGCAAAATATAT GACAGTAAATATCAGAATTTTATGGTTTGACCAGCGCTTATCACATTCCC AATTCAGTGAGAAAAATTCATCTGGGACACAACAGGGTACTCTTCTCTGT TTGCCCAGAATCAGCTCTGGATTTTAAGCCCAGACTTCAGTGGACCCAGA TAGAAAATATAAAGTCTCTGATCTATAGGCCACATCAGGATGTTATTTTA TGAAGAGTTCTAGAGCAAGGTTGCGGAAATCGGGGTGGAGATGGGGAGCA GTGACTCCTCCAAATATTCATTGCTAACAGGCCATTCTATGCAGTTTGTT TTAACAAATCCTGGGTTAAACTGAGGCCACAGGACATGATGGGCTGTTCT ATAAAGCATTCTAAGTGGAGAGGAGACGATAGGGCATATGAAATTCACTA AACTCTCTGGAAAAAAAATATGTATATATTAAAAACCAAGACTGGAATCA GTGCAACAGTGGGAACTACCTTTTACAAGTATCCATTGCTTCATAAACTC CATTTGTTTGGACCAATCCCTTAAACAAAAGCAAGGCAAATTTTACATGG ATTTAGAGCCTAGGTCAGGTTATTAGGATTATAAATTTTCCACTGGTATG TCATTGTGATTATCTTTGTTTTTGTCTTTCTGAAAGATTGGATTTTCTAT AACACCTTGTGTAAGAAAATAAAAAACTTGATCTAACTGAA suppose this is a sequence... i want to write first 7 alphabets in first line...(1st to seventh) TTCATCA next 7 in next line...(2nd to ...8th) TCATCAT next 7(3rd to 9th)....and so on.... can u help me to write this programm.... if u write this programm u get a treat from me....
#include<iostream.h> #include<conio.h> void main() { int a, b, c; clrscr(); cout<<"enter the two numbers"; cin>>a; cin>b; c=a+b; cout<<"Addition of two numbers="<<c; getch(); }
Write an. Algorthim. To. Find the. Sum. Of. First15 natural. Numbers
"Mean" usually means "average", so you just add the numbers together, then divide by 8.
Write and run a client and a server program in C-language using UDP
A waste of time. The lowest common factor of any two numbers is 1.
C programm
1. Write the program 2. Compile and link it 3. Execute it by entering its name at command prompt
The native C language will not permit the addition of two 100 digit numbers with native data types. Therefore, you need to simulate the 100 digit numbers differently, and that can be done various ways, including using an arbitrary precision math package, or BCD arithmetic, etc.
write an assembly language program to find sum of N numbers
mov ax,1234hmov bx,03hmul bxhlt( "THIS IS THE PROGRAMM CODING FOR 8 BIT 2NUMBERE'S MULTIPLICATION
int main (void) { printf ("%d+%d=%d\n", 6, 7, 6+7); return 0; }
Please see the link for a code with an explanation.
write an addition story for two 3-digit numbers. write the answer to your story
how can study of programming methods to read data from / write data to a USB port
fish
yes and no. it depnds on the programm or PC you use.