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


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).


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.


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.


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.


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.


How often do you vote for president in the US?

The presidential elections in the US are every four years in November. Once elected, they are inaugurated the following January. The last general election was 2008. The partisan primaries to narrow the field are in the preceding winter and summer.


What is the difference between a field guide and a dichotomas key?

A dichotomous key is arranged in steps with two descriptive statements at each step. It is a detailed list of identifying characteristics that include scientific names.Whilst, a field guide is a book designed to help the reader identify wildlife (plants or animals) or other objects of natural occurrence. Hope this helps! :)