c programming language 0 Answer(s) 3 years and a month ago
Posted in : Java Beginners
int main() { int i = 1, c = 0, sum = 1,j ; scanf("%d", &j);
while (i <= j) {
sum = sum + (i /3+i/5); printf("%d\n", sum); i = i +i/3+i/5; } }
I cant get my output correct. it should be if i enter 3, it should come out with 1.000000, 1.33333 can anyone correct my mistake?
submit the anwer to my email : shila_2109@hotmail.com
View Answers
Related Pages:
C++ programming language - Java Beginners C++ programming language int main()
{
int i = 1, c = 0, sum = 1,j ;
scanf("%d", &j);
while (i <= j)
{
sum = sum + (i /3+i/5);
printf
c programming language - Java Beginners cprogramming language int main()
{
int i = 1, c = 0, sum = 1,j ;
scanf("%d", &j);
while (i <= j)
{
sum = sum + (i /3+i/5);
printf("%d
Learning programming language - Java Beginners
Learning programming language Hi,
I am srikanth i want to learn java programminglanguage without knowing C language.I am very new to programming and i want to learn this language.Can you suggest me to learn the language
C Language C Language What's the right declaration for main()?
Is void main() correct?
in Clanguage ?
please help me sir !
Thank You
C language C language i want that when i hit any key only * to be print not the hit key in clanguage
The given example will display aestricks on hitting any key.
#include "stdio.h"
#include "conio.h"
#include "ctype.h"
int
C Language C Language Respected sir,
Why does sizeof report a larger size than I expect for a
structure type, as if there were padding at the end?
help me sir
C Language C Language Respected Sir,
How can I determine the byte offset of a field within a
structure?
How can I access structure fields by name at run time?
please help me sir .
Thank you sir
Why Java as a programming Language?
Why Java as a programmingLanguage?
Why Java as a programmingLanguage?
Java is a general-purpose, high-level programminglanguage, which provides a powerful and full
Ask C/C++ Questions online
purpose programminglanguage that can run on most of the platforms. C is used... Bell Laboratory while C++ is a popular object oriented programminglanguage... programminglanguage and are widely used in developing software. C and C
C and C++ books-page10
;
The programminglanguageC
As a programminglanguage, C is rather... offers an introduction to the C++ programminglanguage. It is a guide for C/C... should realize that extensive knowledge of the Cprogramminglanguage is actually
C/C++ Programming Books
;
Object-Oriented
Programming and The Objective CLanguage... language like C++. In this ebook we give you a good start for a programming standard....
The first part teaches C++, the language of choice for general-purpose programming
c language code clanguage code Dear Sir, Could you send me the clanguage codings for BOOK BANK
c-language pointer functions c-language pointer functions what is the execution process of character pointer functions with example
C Programming C Programming hi,how can i write a program in Cprogramming to place reservation in air plane from the menu let the user to inter his/her gender(W or M)and draw seats by using ascii codes and choose where he/she will sit
Objective C Introduction programminglanguage. Objective C is very old programminglanguage... of
the class.
In a nutshell Objective C is:
Extension of Cprogramminglanguage...
In the next section we will learn the importance of
Objective Cprogramminglanguage
c programming c programming write a program to input five numbers by using while loop in c programing
about a program in c language
about a program in clanguage Write a program that inputs five different integers from the keyboard, then print the sum, the product, the smallest and the largest of these numbers. Use only single selection form of if statement
R programming language.
R programminglanguage. i want to know about R-programminglanguage.
what is it?
how to work on it?
if possible provide me a ebook on the topic
c programming c programming Write a Program in 'C' to print the following
output 'n' rows.
for example, if n:3, the following should
be output by the program :
1
1 2 L
r 2 3 2 1
1 2 L
1
c programming c programming Write a Program in 'C' to print the following
output 'n' rows.
for example, if n:3, the following should
be output by the program :
1
1 2 L
r 2 3 2 1
1 2 L
1
logic for c language
logic for c language 01 02 03 04 05 06
20 21 22 23 24 07
19 32 33 34 25 08
18 31 36 35 26 09
17 30 29 28 27 10
16 15 14 13 12 11
Java Programming Language
Java Programming Language Hi,
For beginner which programming concepts is important?
Discuss the importance of Java programminglanguage.
In the discussion please let's know how to use Java in developing web applications
Java as a general purpose language
;
Java is an Object oriented application programminglanguage... language. It is a stupendous programminglanguage which is not
confined... of applications can be written in Java programminglanguage such as any small or large
Change case in C language
Change case in C language I want to right in .dat file through structure.For this i have defined following:
struct student //structure defination...
If user is typing b5678 ,i want to store as B5678.
(C)for input i am using
C Language - Java Beginners C Language 1. What are extension files? Give examples.
2. What is operating system? What are the different types available?
3. What is the purpose of operating system?
4. What is the function of operating system?
5
Java vs C
Java vs. CLanguage
In this section we will compare Java and CProgramming... programminglanguage while c is
procedural language
Platform independence... business problem.
Java is object oriented, platform independent programminglanguage
Language in iphone development?? Language in iphone development?? What programminglanguage we use in iphone development???
hello,
we are using Objective C in iphone development
c programming - Design concepts & design patterns c programming Q.1- Write a program in 'c' language to merge the contents of two binary search trees into one. Also, calculate the time and space complexities of your program?
Q.2- Write a C++ program to create functions
C Tutorials
defined in Clanguage have a
base address attached to it.
 ...
C Tutorials
C Array copy example
The example below contains two
Java as a general purpose language
;
Java is an Object oriented application programminglanguage...
programminglanguage. It is a stupendous programminglanguage which is not
confined... of applications can be written in Java programminglanguage such as any small
What is Objective c iPhone?
What is Objective c?
Objective c is a standard objected oriented programminglanguage or we can also say that it is an enhanced version of traditional c... is one of them. This language is based on ANSI Clanguage.
While going through
Java: Language Complexity
Java: Language Complexity
Many programminglanguage features are designed... point of view,
additional programminglanguage features,
eg Java templates, makes... and Apple's Object Pascal)
that turned it into a good professional programminglanguage
Difference between C++ and Java
Java and C++ are Object Oriented Programming (OOPs) language. Java... programming and extends the Cprogramminglanguage. Java supports network computing... the class
In C++ programming can be done without making objects
C and C++ books-page12
to give you a general overview of the Cprogramminglanguage. Although much....
C has been used successfully for every type of programming problem... program Note
C is a relatively small language, but one which wears well. C's
Objective C
;
Objective C is a programminglanguage, which is sleeted
by Apple for developing... Objective C tutorials. We will be explaining the
programminglanguage with easy... you the basic introduction about Objective Cprogramminglanguage. Objective
C++Tutorials
++ is a programminglanguage substantially different from C. Many see C++ as "a better C than... teaches the C++ programminglanguage but assumes that the student has already... easier. However, this is not a course for learning the C++ programminglanguage
Java Programming Language
Introduction to Java programmingLanguage
Java is one of the Object-Oriented programminglanguage used to create
various types of applications. James A. Gosling developed the Java
programminglanguage in the year 1995 at Sun
C and C++ books-page7
a real programminglanguage.
On the other hand, the students are required to complete laboratory programming assignments using C++. A separate book...
C and C++ books-page7
 
C and C++ books-page11
, platform-neutral programminglanguage that supports object-oriented programming..., object-based programming, generic programming, and functional programming.
C... with this language. This reliance on C provides important benefits:
* Reuse of legacy C
Why Objective C?
and "Why Objective C?" is used as programminglanguage to develop applications... organized language
?Objective-Clanguage is selected for the Cocoa framework... benefit of Clanguage.
With this language user can select both object
range of int in c
range of int in c What is the range of int in c/c++ and Java programminglanguage
Java as a general purpose language
;
Java is an Object oriented application programminglanguage...
programminglanguage. It is a stupendous programminglanguage which is not
confined... of applications can be written in Java programminglanguage such as any small
C++GraphicsTutorials C++ Graphics Tutorials
Game programming with DirectX... in this document is correct.
C/C++ Windows programmers who want to learn
Where to learn java programming language
and want to learn Java and become master of the Java programminglanguage? Where to learn java programminglanguage?
Thanks
Hi,
Java is Object oriented programminglanguage. It's easy to start learning Java. You can learn how
bsearch() function in C
bsearch() function in CProgrammingLanguage
This section demonstrates the use bsearch() function in C. This searches function the given key in the array...;
#include <conio.h>
char charr[] = { 'a',
'b', 'c', 'd
C and C++ books-page2
.
The CProgramming Language
Here are some...
C and C++ books-page2
The
Advice & Warning for C Tutorials
C and C
C Programming SubString Program CProgramming SubString Program Sir I want to Check whether the Single Substring is present in the given 3 string. characters.
eg if i entered
First String- CPROGRAMMING
Second String- CPROGRAM
third String- PROGRAMMING
if i