answersLogoWhite

0


Best Answer

#include<stdio.h>

#include<conio.h>

void main()

{

char b=0;

float a;

clrscr();

a=1.234;

printf("\n%d%d%d%d%.3f",b,b,b,b,a);

getch();

}

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How to write printf statements for print 1.234 in a 9-digit field with preceding zeros?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you write printf state for unsigned integer 40000 left justified in a 15-digit field with 8 digit field?

So is it 8 or 15? printf ("%-15u", state); or printf ("%-8u", state);


What is the maximum and minimum field width of scanf and printf?

Pleas refer to the link below.


What statements describes the result of reversing the current in a current-carrying in a magnetic field?

When the current is reverted, the magnetic field will also be reverted.


Where can I find information about profit and loss statements?

If you are looking to get into either a finance or accounting field, profit and loss statements would be of critical value. Take a look at: en.wikipedia.org/wiki/Profit_and_Loss


Name two type of evidence that are testimonial?

Witness testimony - statements given by individuals who have witnessed or have knowledge of a situation. Expert testimony - opinions or statements provided by professionals who are considered to have expertise in a particular field.


The date of the CPA's opinion on the financial statements of his client is is?

the date of the completion of all important audit procedures.(Field work completed).


what- A farmer plows rows in his field to sow crops. The border of his field is surrounded by a fence to keep out pests. If the two corners of the fence form right angles, which of the following statements is not necessarily true?

the sides of the fence are parallel to the rows of crops.


In the field of accounting what does the term FASB goodwill refer to?

In the field of accounting the Finical Accounting Standards Board (FASB) provides guidance on how to deal with goodwill and how to account for it on finical statements. When done properly goodwill can provide tax relief for a company.


When Dr. Greg Henderson a pathologist turned field medic arrived at the Convention Center on Friday he was the only doctor for 10000 people. Which of these statements best characterizes the sentence a?

suburbsfearfulfearfulintimidatedintimiatatedintimidatedintimiatated


How the legislation and accounting concepts affect an organization's accounting policies?

Reporting methods, measurement systems, and disclosures used by a specific company. The accountant should evaluate the appropriateness of accounting policies employed by management. A description of the company's accounting policies should be presented in a separate section preceding the footnotes to the financial statements or as the first footnote. Disclosure of accounting policies should include Accounting Principles and methods of application that involve: (1) a selection from generally accepted alternatives; (2) those peculiar to the industry or field of endeavor; and (3) unusual or different applications of Generally Accepted Accounting Principles (GAAP). Examples of disclosures are basis of Consolidation, depreciation methods, and inventory pricing. Disclosure of accounting policies assists financial readers in better interpreting a company's financial statements. Thus it results in fair presentation of the financial statements.


Which one of the following statements best explains why it is possible to define an electrostatic potential in a region of space that contains an electrostatic field?

It is possible to define an electrostatic potential in a region of space with an electrostatic field because the potential is a scalar field that describes the energy per unit charge at a point in space due to the presence of a source charge distribution. This potential provides a convenient way to describe the behavior of the electric field in that region.


How legislation and accounting concepts affect an organization accounting policies?

Describe how the legislation and accounting concepts affect an organisation's accounting policiesReporting methods, measurement systems, and disclosures used by a specific company. The accountant should evaluate the appropriateness of accounting policies employed by management. A description of the company's accounting policies should be presented in a separate section preceding the footnotes to the financial statements or as the first footnote. Disclosure of accounting policies should include Accounting Principles and methods of application that involve: (1) a selection from generally accepted alternatives; (2) those peculiar to the industry or field of endeavor; and (3) unusual or different applications of Generally Accepted Accounting Principles (GAAP). Examples of disclosures are basis of Consolidation, depreciation methods, and inventory pricing. Disclosure of accounting policies assists financial readers in better interpreting a company's financial statements. Thus it results in fair presentation of the financial statements.