#include
#include
#include
#include
使用命名空间std;
作废双时间(双L、双P双G)
voidmain)
{
setlocale(LC_ALL-Pendulum.cpp-文件处理 - IMDN开发者社群-imdn.cn" />
#include#include#include#include使用命名空间std;作废双时间(双L、双P双G)voidmain){setlocale(LC_ALL,"RUS");双L,T;双P=3.14;//КОНСТАНТА双G=9.8;//КОНСТАНТА//ДЛЯЗАДАННЫХЗНАЧЕНИЙL=100;T=time(L,P,G);cout«"ВремяколебанийприL="«L«"равно:"«T;_getch();//ДЛЯЗНАЧЕНИЙВВОДИМЫХСКЛАВИАТУРЫsystem("cls");cout«"DведитеL=";cin»L;T=time(L,P,G);cout«"ВремяколебанийприL="«L«"равно:"«T;_getch();返回0;}作废双时间(双L、双P双G){双M;双P=3.14;//КОНСТАНТА双G=9.8;//КОНСТАНТАM=2*P*sqrt(L/G);//ПЕРИОДКОЛЕБАНИЙ返回M;}-IMDN开发者社群-imdn.cn">
#include#include#include#include使用命名空间std;作废双时间(双L、双P双G)voidmain){setlocale(LC_ALL,"RUS");双L,T;双P=3.14;//КОНСТАНТА双G=9.8;//КОНСТАНТА//ДЛЯЗАДАННЫХЗНАЧЕНИЙL=100;T=time(L,P,G);cout«"ВремяколебанийприL="«L«"равно:"«T;_getch();//ДЛЯЗНАЧЕНИЙВВОДИМЫХСКЛАВИАТУРЫsystem("cls");cout«"DведитеL=";cin»L;T=time(L,P,G);cout«"ВремяколебанийприL="«L«"равно:"«T;_getch();返回0;}作废双时间(双L、双P双G){双M;双P=3.14;//КОНСТАНТА双G=9.8;//КОНСТАНТАM=2*P*sqrt(L/G);//ПЕРИОДКОЛЕБАНИЙ返回M;} - IMDN开发者社群-imdn.cn">
于 2022-03-13 发布
文件大小:2.46 kB
0 179
#include"stdafx.h"
#include < iostream >
#include < conio.h >
#include < locale.h >
#include < stdio.h >
#include < math.h >
使用命名空间 std ;
作废双时间 (双 L、 双 P 双 G)
void main)
{
setlocale (LC_ALL,"RUS") ;
双 L,T;
双 P = 3.14 ;/ / КОНСТАНТА
双 G = 9.8 ;/ / КОНСТАНТА
//ДЛЯ ЗАДАННЫХ ЗНАЧЕНИЙ
L = 100 ;
T=time(L,P,G) ;
cout «"Время колебаний при L ="«L «"равно:"«T;
_getch() ;
//ДЛЯ ЗНАЧЕНИЙ ВВОДИМЫХ С КЛАВИАТУРЫ
system("cls") ;
cout «"Dведите L =";
cin» L;
T=time(L,P,G) ;
cout «"Время колебаний при L ="«L «"равно:"«T;
_getch() ;
返回 0 ;
}
作废双时间 (双 L、 双 P 双 G)
{
双 M;
双 P = 3.14 ;/ / КОНСТАНТА
双 G = 9.8 ;/ / КОНСТАНТА
M=2*P*sqrt(L/G) ;/ / ПЕРИОД КОЛЕБАНИЙ
返回 M;
}
下载说明:请别用迅雷下载,失败请重下,重下不扣分!
simple examination system, reading the text to achieve, can be realized immediat...
简单的考试系统,读取文本来实现,可实现即时评分。-simple examination system, reading the text to achieve, can be realized immediately score.
2023-06-22 13:55:03下载
积分:1
use MAPI32.DLL use e
使用MAPI32.DLL使用电子邮件发送电子邮件使用MAPI32.D发送电子邮件的步骤
2022-04-18 09:37:39下载
积分:1
利用WINDOWS API,用VB6写的文 件 操作类,可实现常见的文 件 和文 件 夹操作....
利用WINDOWS API,用VB6写的文件操作类,可实现常见的文件和文件夹操作.-The use of WINDOWS API, to use VB6 to write the file operations class, enabling the common file and folder operations.
2022-10-19 07:30:03下载
积分:1
一个小的makefile程序简单,但反映的makefile编写的世界。
一个MAKEFILE的小程序,很简单,但是体现了MAKEFILE编写的方式-A small Makefile procedure is simple, but reflects the Makefile to prepare the way
2022-01-21 00:23:52下载
积分:1
VB2005 a used copy of the document prepared by the time the date and then a smal...
一个用VB2005编写的文件拷贝并用时间日期随即命名的小程序-VB2005 a used copy of the document prepared by the time the date and then a small program named
2022-06-18 02:46:23下载
积分:1
Change the file access, support for more than windows2000 operating system
更改文件的访问权限,支持windows2000 以上操作系统-Change the file access, support for more than windows2000 operating system
2022-08-09 01:32:15下载
积分:1
用 ADO 访问有密码的 Access 数据库
用 ADO 访问有密码的 Access 数据库-visit to the Access database password
2022-03-20 16:36:37下载
积分:1
这个项目是multiindexed文 件 系统我做了“信息存储和识别。
this project is MultiIndexed FileSystem i done it for "Information storage and retrieval FileSystem course" it is like IBM VSAM FS, use variable lenght record , and B+Tree algorithm for indexing,and store data in PileFile(*.pile) and also indexes in (*.idx)
-this project is MultiIndexed FileSystem i done it for "Information storage and retrieval FileSystem course "it is like IBM VSE FS, use variable length record, and B Tree algorithm for indexing. and store data in PileFile (*. pile) and also ind exes in (*. idx)
2022-04-17 08:11:45下载
积分:1
实现对WORD文 档转换功能.txt文 件
实现对WORD文档转换功能.txt文件-word document translate to .txt files
2022-04-29 17:14:24下载
积分:1
waste personalized customer documents folder to facilitate the operation of the...
废客个性文件夹 方便文件的操作 改变文件夹的颜色-waste personalized customer documents folder to facilitate the operation of the folder change color
2023-01-17 04:20:04下载
积分:1