File:Primoc.png

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Primoc.png(397 × 557 pixels, file size: 8 KB, MIME type: image/png)

Captions

Captions

Add a one-line explanation of what this file represents

Summary[edit]

Description Pequeno programa em C que imprime na tela se o número passado a ele como argumento é primo ou não.
Date 12 March 2007 (original upload date)
Source No machine-readable source provided. Own work assumed (based on copyright claims).
Author No machine-readable author provided. Paulorcjr assumed (based on copyright claims).

Licensing[edit]

I, the copyright holder of this work, hereby publish it under the following licenses:
GNU head Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
This licensing tag was added to this file as part of the GFDL licensing update.
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 2.5 Generic, 2.0 Generic and 1.0 Generic license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
You may select the license of your choice.
  1. include<stedio.h>
  2. include<stdlib.h>

int main(){ char profissao float salario,novo salario; printf("A-Advogado,E-Engenheiro e O-Outros"); pritf("\nEntre com a profissao); scanf("%c",&profissao); printf('\nEntre com o salario:"); scanf("%f",&salario); if(profissao=='A') novo salario=salario*1.4; else if(profissao=='E') novo salario=salario*1.3; else novo salario=salario*1.2; printf("\nO novo salario e:%f",novo salario); system("pause"); }

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current10:38, 12 March 2007Thumbnail for version as of 10:38, 12 March 2007397 × 557 (8 KB)Paulorcjr (talk | contribs)Pequeno programa em C que imprime na tela se o número passado a ele como argumento é primo ou não.

There are no pages that use this file.

File usage on other wikis

The following other wikis use this file: